Added 🪄
- [3.x]
getCountForPaginationas a pass-thru for Laravel versions >= 12.15 by @cosmastech in #2301 - [3.x] feat: add new rule to detect unnecessary Enumerable::toArray() calls by @calebdw in #2311 Read more about it here
- Accurate return types for
Config::collection()calls (only for Laravel >= 12.20.0) Note: NeedscheckConfigTypesparameter to be enabled in the config. - Two new rules that will warn if you can access the information through request instead of global function
NoAuthFacadeInRequestScopeRuleandNoAuthHelperInRequestScopeRuleRead more about it here ConfigCollectionRuleto warn you if you pass a config option that is not an array toConfig::collectioncall. Note: NeedscheckConfigTypesparameter to be enabled in the config.- Added support for calling
pluckon collections with closures. (only for Laravel >= 12.20.0) fd16758
Internal ⚙️
- Fixed PHPUnit deprecations 6431d01
New Contributors
- @cosmastech made their first contribution in #2301
Full Changelog: v3.5.0...v3.6.0