Laravel PR 流し読み(2021/07/21)

まずはこれ。

[8.x] Change cache key column from unique to primary by Triplkrypl · Pull Request #38076 · laravel/framework · GitHub

 

Schema定義のときにプライマリーキーではなくユニーク成約になっていたようです。

 

 

つぎはこれ。

[8.x] ImplicitAttributes are included in getRules() already by themsaid · Pull Request #38080 · laravel/framework · GitHub

 

Laravel PR 流し読み(2021/07/19) - toganaのブログで記載したバリデーションのとこで array_merge してるところ getRules に含まれているので不要だったって修正です。

 

つぎはこれ。

[8.x] Remove PHPUnit\Util\InvalidArgumentHelper by FrontEndCoffee · Pull Request #38081 · laravel/framework · GitHub

 

PHPUnit 7.x のサポートが終わっているのでチェックしなくて良くなったロジックが残っていたので削除したようです。

 

つぎはこれ。

[8.x] Allow shift() and pop() to take multiple items from a collection by edgrosvenor · Pull Request #38093 · laravel/framework · GitHub

 

コレクションの shift と pop が引数を与えることで複数の値を取得できるようになりました。ドキュメントに関しては別のPRで記載するとのことなので明日紹介できそうです。