Update PHPStan packages 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
|
phpstan/phpstan-symfony | require-dev | patch |
2.0.0 -> 2.0.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
phpstan/phpstan-symfony (phpstan/phpstan-symfony)
v2.0.1
- c08cd8e - Fix CS after merge
- fa54bd1 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
- 1ef4dce - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
- 55ff7b7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
- 282a698 - Fix after PHPStan update
-
bb3e671 - Cleanup
skipCheckGenericClasses
- 237165e - Fixes after PHPStan update
- d1e08ac - Fixes after PHPStan update
- a0572ad - Fixes after PHPStan update
-
7e5633f - [BCB] Remove legacy config options with
_
in their name - 4f260f0 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
- 3eb61a0 - Fixes after PHPStan update
- bd9efb7 - Fixes after PHPStan update
- 23a776d - Fixes after TypeSpecifier BC break
- c88f96e - Drop dependency on nikic/php-parser
- 90e8976 - Update build-cs
- 2f736a6 - Stop testing PHP 7.2 and 7.3
- 2c53b38 - Open 2.0.x
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot