Releases: shipmonk-rnd/phpstan-rules
Releases · shipmonk-rnd/phpstan-rules
3.2.1
3.2.0
3.1.0
3.0.0
Breaking changes:
- forbidAssignmentNotMatchingVarDoc: removed as there is better native replacement when bleedingEdge is enabled (#238)
- allowNamedArgumentOnlyInAttributes: removed as it was highly opinionated and did not provide any extra strictness (#238)
- forbidCheckedExceptionInCallable: removed config
immediatelyCalledCallables
(we now respect native@param-immediately-invoked-callable
, see docs) (#240) - forbidReturnValueInYieldingMethod: option
reportRegardlessOfReturnType
is nowtrue
by default
Improvements
- All rules accepting classnames in its config checks class existence
Dependencies
phpstan/phpstan
now requires at least1.11.0
(was1.10.51
)1.11.0
comes with error identifiers (which we support since 2.10.0)
2.12.0
2.11.3
2.11.2
2.11.1
2.11.0
New features:
- forbidNotNormalizedType: deny
Child|Parent
within unions or intersections; there is nomixed|false
, justmixed
(#185) - enforceClosureParamNativeTypehint: enforce closures and array function to have typehinted parameters; configurable to omit when inferred (#192)