packagist nunomaduro/larastan 1.0.0

latest releases: 2.x-dev, dev-fix-tap-with-intersection-types, dev-neon-typo...
2 years ago

What's Changed

Added

  • Dynamic method return type extension for Enumerable::filter in #981
  • New rule to check for relation existence in #985
  • rescue parameter of rescue function now accepts the Throwable by @sebdesign in #989
  • New CheckJobDispatchArgumentTypesCompatibleWithClassConstructorRule rule in #991
  • Added non-empty-string types in stubs. c5b81cf

You can read more details about the rules here.

Fixed

  • PHPStan 1.0 compatibility in #968

BC breaking changes

  • JsonResource class is no longer generic. You can remove @template tags from your resource classes and directly add @mixin Model tags to your resource classes. 37f9ce8

New Contributors

Full Changelog: v0.7.14...1.0.0

Don't miss a new larastan release

NewReleases is sending notifications on new releases.