⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
casts
method in https://github.com/larastan/larastan/commit/66db15f82209d971e9bcca99ea3b2cb031be9d52
[!IMPORTANT]
Make sure you read the upgrade guide on this topic to learn how you can correctly use this feature.
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.5...v2.9.6
sole
method to Relation
stubs - 56d71230713c9763ec559076f9cbaf793bd980ddModelAppendsRule
optional - 4834d0fFull Changelog: https://github.com/larastan/larastan/compare/v2.9.4...v2.9.5
report
parameter in rescue
stub to match laravel by @carlalexander in https://github.com/larastan/larastan/pull/1911
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.3...v2.9.4
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.2...v2.9.3
Full Changelog: https://github.com/larastan/larastan/compare/v2.9.1...v2.9.2
withWhereHas
method to supported Eloquent Builder methods by @akinoriakatsuka in https://github.com/larastan/larastan/pull/1853
map
and mapWithKeys
methods of Eloquent collection returns a Eloquent collection if model is returned from the callback 097a2d29409e5568166b66a3b703e2f7a2491931Full Changelog: https://github.com/larastan/larastan/compare/v2.9.0...v2.9.1
toRawSql
, dumpRawSql
and ddRawSql
to QueryBuilder.stub
by @eusonlito in https://github.com/larastan/larastan/pull/1823
cursor
method by @calebdw in https://github.com/larastan/larastan/pull/1825
first
not checking model properties by @calebdw in https://github.com/larastan/larastan/pull/1845
Full Changelog: https://github.com/larastan/larastan/compare/v2.8.1...v2.9.0
ModelFindExtension
: b7cc6a29c457a7d4f3de90466392ae9ad3e17022Full Changelog: https://github.com/larastan/larastan/compare/v2.8.0...v2.8.1
one
methods by @calebdw in https://github.com/larastan/larastan/pull/1785
Full Changelog: https://github.com/larastan/larastan/compare/v2.7.0...v2.8.0
With this release Larastan is moved to the Larastan organization. Please refer to the upgrade guide for more details: Upgrade Guide.