Repository navigation
PHP8.3互換を維持してLaravel13へアップグレード - #204
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Laravelを12.70.0から13.37.0へ更新します。Composerのplatform PHP8.3.30を維持し、Symfony7.4系のまま解決しています。追加はpolyfill1件で、他パッケージのバージョン変更はありません。
Laravel13の型付きEloquent Scopeに合わせて対象モデルと共変Builderを明示します。キャッシュの許可クラスをfalse、セッション保存をJSONに設定し、デシリアライズ保護を明示します。公開検索用の既存セッションは再作成されるため、開いたままの画面で再読込が必要になる場合があります。
Livewireは実GETのsnapshotから実POST更新を行うテストを追加し、通常テストのCSRFバイパスを避けて、有効トークンでの検索と欠落/不一致時の419を確認しています。キャッシュのPHPオブジェクト復元抑止とJSONセッション復元も検証します。
検証: 全94テスト248 assertions、PHPStan/Pint/docs、composer validate/audit成功。独立no-devインストールでLaravel13起動・config/route/view cache・スケジュール登録に成功。本番PHP8.3の実テストはCIで確認します。本番デプロイは含みません。