packagist nunomaduro/larastan v0.6.5
0.6.5

latest releases: 3.x-dev, dev-szepeviktor-patch-2, v2.9.11...
4 years ago

This release introduces a new rule that can check the arguments of methods that expects a model property name, and can warn you if the passed argument is not actually a property of the model. You can read the details about the rule here.

NOTE: This rule is currently in beta! If you want to improve it's analysis, you can check out the issue here and contribute!

Added

  • Add a new view-string PHPDoc type (#654)
  • Stubs for Eloquent builder value and orWhere methods

Fixed

  • Parameter type of the query builder's where, orWhere and addArrayOfWheres (#651).
  • Fix callback parameters for retry (#663).
  • Using Reflection to initiate a model in ModelPropertyExtension to avoid errors caused by using Model constructor. (#666)

Changed

  • Made improvements to database migrations scanning. (#670)
  • Improved running test suite commands and Windows compatibility (#682)

Don't miss a new larastan release

NewReleases is sending notifications on new releases.