Update dependency phpstan/phpstan to v2.1.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
2.1.0 -> 2.1.1
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v2.1.1
🔧
Improvements - Introduce
getNextStatements
in UnreachableStatementNode (#3745), thanks @samsonasik! - Improve loose comparison on string types (#3756), thanks @staabm!
- Enforce safe constructor overrides with
@phpstan-consistent-constructor
(#3687), #12137, thanks @herndlm! - Improve loose comparison on constant types (#3755), thanks @staabm!
- Improve loose comparison on IntegerRange containing zero (#3764), thanks @staabm!
- NodeScopeResolver: 10x faster constant array processing (#3769), thanks @staabm!
- UninitializedPropertyRule should be always reported when
checkUninitializedProperties
is enabled (https://github.com/phpstan/phpstan-src/commit/ca86412b4c53af26c21ddb3dd01f3fe200f17b48)
🐛
Bugfixes - This release includes fixes from PHPStan 1.12.15
- GetNonVirtualPropertyHookReadRule - do not report if get hook is not present at all (https://github.com/phpstan/phpstan-src/commit/b614f70e0154010f74e36dc9264962facac8122e)
- Support named arguments after unpacking on PHP 8.1+ (#3742), #11418, #8046, thanks @herndlm!
🔍
Internals - Update PHP-Parser and BetterReflection (#3767)
- Simplify code thanks to PHP-Parser update
- Simplify code thanks to BetterReflection update
- PropertyHookReturnStatementsNode is invoked for short body hooks
- ShortGetPropertyHookReturnTypeRule is no longer needed
- PropertyHookNameVisitor is no longer needed, PHP-parser comes with
propertyName
attribute
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.