Larastan v0.5.6 released

Larastan v0.5.6 released

Larastan v0.5.6 is released, here are the changes we`ve merged into this release:

nunomaduro/larastan
⚗️ Adds static analysis to Laravel improving developer productivity and code quality - nunomaduro/larastan

Added

  • Eloquent relations are now also generic. (#518)
  • Support for Composer 2. Thanks @GrahamCampbell (#528)
  • Support for abort_unless, throw_if and throw_unless functions. Thanks @Daanra (#542)
  • Support for retry helper return type. Thanks @Daanra (#543)
  • A rule for detecting expensive calls on a Collection. Thanks @Daanra You can read more about the details of the rule and how to configure it here. (#538)
  • Support for value helper function return type. Thanks @Daanra (#545)

Fixed

  • Fixed relation methods with custom builders always returning custom builder. (#520)
  • Fixed reading boolean columns from migrations. (#514, #513, 692fcd1, d1f1861)
  • Annotations for model properties have higher order than migration files. (ec22906)
  • Improved support for Eloquent relationships. (#533)

-

GitHub: https://github.com/nunomaduro/larastan/releases/tag/v0.5.6

Thanks, we hope you enjoy this new release! 🎉

Show Comments