packagist nunomaduro/larastan v3.6.0

latest releases: v3.8.1, v3.8.0, v3.7.2...
5 months ago

Added 🪄

  • [3.x] getCountForPagination as 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: Needs checkConfigTypes parameter to be enabled in the config.
  • Two new rules that will warn if you can access the information through request instead of global function NoAuthFacadeInRequestScopeRule and NoAuthHelperInRequestScopeRule Read more about it here
  • ConfigCollectionRule to warn you if you pass a config option that is not an array to Config::collection call. Note: Needs checkConfigTypes parameter to be enabled in the config.
  • Added support for calling pluck on collections with closures. (only for Laravel >= 12.20.0) fd16758

Internal ⚙️

  • Fixed PHPUnit deprecations 6431d01

New Contributors

Full Changelog: v3.5.0...v3.6.0

Don't miss a new larastan release

NewReleases is sending notifications on new releases.