Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PHPのバージョンアップを通して保守性の大切さを学んだ
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
sho44
April 05, 2022
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHPのバージョンアップを通して保守性の大切さを学んだ
sho44
April 05, 2022
More Decks by sho44
See All by sho44
tblsの紹介@PHP_オレ_カンファレンス神戸
shosho44
0
56
rettyインターン内容.pdf
shosho44
0
74
Other Decks in Programming
See All in Programming
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
SREの越境 / SRE Collaboration
y0hgi
2
310
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
350
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
How to Ace a Technical Interview
jacobian
280
24k
The Pragmatic Product Professional
lauravandoore
37
7.5k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Technical Leadership for Architectural Decision Making
baasie
3
600
Visualization
eitanlees
153
17k
My Coaching Mixtape
mlcsv
0
360
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Marketing to machines
jonoalderson
1
5.9k
Transcript
PHPのバージョンアップを通して 保守性の大切さを学んだ
バージョンアップ対応で行ったこと ・既存ソースコード内で変更する必要がある 箇所を探し出し修正する 引用(https://www.php.net/manual/ja/migration81.incompatible.php) 図1 ドキュメント記載の変更点
具体的にどんなことを行ったのか ・ソース内検索を行なって、変更箇所を見つける ・修正 ・コーディング規約を設けるためのツールのバージョンアップ
めちゃんこ時間がかかった
何に時間がかかったのか ・ドキュメントに書いてあることの理解 (自分の知識不足) ・ソース内で変更が必要な箇所を探し出すこと
そもそもバージョンアップってする必要あるん?
あります(個人的考え)
バージョンアップを行う理由 ・古いバージョンがサポートされなくなり セキュリティの脆弱性が野放しにされてしまう 図2 各バージョンのサポート期間 アクティブサポート セキュリティに関する サポート 引用(https://www.php.net/supported-versions.php)
バージョンアップを行う中で気づいたこと その1 ・PHPDocを書いておく。型は定義した方が良い →型を追うのが大変。期待していない型の要素を入れないため ・システムはバージョン管理した方が良い →何かあったときに戻せるため ・リファレンスはまとまっていた方が良い →時間短縮ができるため。人的リソースを削減するため
バージョンアップを行う中で気づいたこと その2 ・変数名関数名などは見たら内容がわかるものにした方が良い →ロジックをみる時間を短縮できるため。解釈ミスを防げるため ・同じ処理を重複して書かないほうが良い →修正漏れが発生してしまうため ・使わない処理は消しておいた方が良い(定期的なリファクタ) →修正の時間を削減できる