Releases: shipmonk-rnd/phpstan-rules
Releases · shipmonk-rnd/phpstan-rules
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 )
4.1.5
17 Jul 11:44
Compare
Sorry, something went wrong.
No results found
Fixes:
enforceNativeReturnTypehint
: fix property hook false positive (#309 )
4.1.4
28 May 14:54
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidUnusedMatchResult
: fix false positive for usage in arrow function (#305 , @maryo )
4.1.3
21 May 11:13
Compare
Sorry, something went wrong.
No results found
Fixes:
enforceReadonlyPublicProperty
: fix false positive with hooked properties (#303 )
4.1.2
07 May 07:48
Compare
Sorry, something went wrong.
No results found
Fixes:
forbidUnusedException
: fix ->getException()::class
false positive (#299 )
4.1.1
12 Mar 08:27
Compare
Sorry, something went wrong.
No results found
Fixes:
Dependencies
phpstan/phpstan
requires ^2.1.8
(#296 )
4.1.0
03 Dec 12:31
Compare
Sorry, something went wrong.
No results found
New features:
forbidCustomFunctions now detects even fist class callables, anonymous classes and array/string callables in arguments (#288 )
e.g. new class extends DeniedParent {}
e.g. $this->deniedMethod(...)
e.g. array_map([$this, 'deniedMethod'], $a)
e.g. array_map('denied_function', $a)
4.0.0
11 Nov 12:11
Compare
Sorry, something went wrong.
No results found
Breaking changes:
Dropped uselessPrivatePropertyNullability as it got implemented in native PHPStan (#283 )
Shrunk function list in forbidEnumInFunctionArguments as most of them are detected by native PHPStan (#278 )
Dependencies
phpstan/phpstan
now requires 2.0.0
(#274 )
3.2.1
01 Oct 14:36
Compare
Sorry, something went wrong.
No results found
Fixes:
Fix reflection error on unknown symbols (#273 )
Dependencies:
phpstan/phpstan
now requires 1.12.5
(was 1.11.0
) (#272 )