Releases: shipmonk-rnd/phpstan-rules
Releases · shipmonk-rnd/phpstan-rules
4.3.7
07 Apr 12:01
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidVariableTypeOverwriting: fix false positive with fluent $this returns (#350 )
forbidUnusedException & forbidUnusedMatchResult support remaining edge cases like string concat (#353 )
forbidUselessNullableReturn: fix false positive with property hooks (#355 )
4.3.6
16 Feb 11:22
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidCheckedExceptionInYieldingMethod: support functions and (immediately-invoked) closures (#345 )
Add composer.lock to export-ignore (#344 )
4.3.5
23 Jan 11:03
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidCheckedExceptionInCallable: fix reported file for traits (#342 )
4.3.4
21 Jan 10:20
Compare
Sorry, something went wrong.
No results found
Fixes:
No crash or false-positives when running with fibers-based PHPStan 2.1.34+ (#340 , #337 )
4.3.3
18 Dec 15:59
Compare
Sorry, something went wrong.
No results found
4.3.2
09 Dec 14:45
Compare
Sorry, something went wrong.
No results found
Fixes:
enforceReadonlyPublicProperty: skip untyped props + add excludePropertyWithDefaultValue option (#334 , @devfrey )
4.3.1
08 Dec 14:04
Compare
Sorry, something went wrong.
No results found
Fixes:
enforceReadonlyPublicProperty: skip static properties (#333 , @devfrey )
4.3.0
01 Dec 12:32
Compare
Sorry, something went wrong.
No results found
Improvements:
enforceReadonlyPublicProperty support asymmetric visibility (#331 , @JanTvrdik )
forbidArithmeticOperationOnNonNumber add support for BcMath\Number (#321 , @JokubasR )
Fixes:
enforceNativeReturnTypehint fix false positive for unions with template type (#325 , @mspirkov )
forbidPhpDocNullabilityMismatchWithNativeTypehint: ignore void methods (#328 , @mspirkov )
Dependencies:
phpstan/phpstan now requires ^2.1.32 (#331 )
4.2.1
04 Sep 08:07
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidUselessNullableReturn: no error for overridable methods (#314 by @vrana )
4.2.0
27 Aug 09:30
Compare
Sorry, something went wrong.
No results found
New features:
forbidUnusedClosureParameters: report unused trailing params for closures and array functions (#313 )