Update dependency phpstan/phpstan to v2.1.17
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
2.1.16 -> 2.1.17
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v2.1.17
🚀
Major new features - Introducing Editor Mode (https://github.com/phpstan/phpstan-src/commit/74b909aedcc6fd09721c02763ff2c440ce5d7999)
- Learn more: https://phpstan.org/user-guide/editor-mode
🔪
Bleeding edge - Report
new static()
in static method of abstract class - level 0 (https://github.com/phpstan/phpstan-src/commit/a5f7c060c8a091da391263decdef8025a3202d82)
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
🔧
Improvements - This release includes improvements and bugfixes from PHPStan 1.12.27
🐛
Bugfixes - Fix
array_column()
with explicit null$index_key
(#3970), #12945, thanks @herndlm! - AlwaysRememberedExpr - use
getNativeExprType
(https://github.com/phpstan/phpstan-src/commit/222676e94aeb92e1b73e7545db6c0d68e003b77e) - Invalidate result cache properly when property hook changes (https://github.com/phpstan/phpstan-src/commit/dff492e14c586368429893111ec4c950b4bd1748, https://github.com/phpstan/phpstan-src/commit/268d7c6388eaeef1675ef8eb807975bc42a4dc1a)
- Result cache - react to property having abstract/final/asymmetric visibility changed (https://github.com/phpstan/phpstan-src/commit/0ad2a6a6f207fa3a57ab0dd98c30459666dd152f)
- Result cache - react to property being virtual changing (https://github.com/phpstan/phpstan-src/commit/e33a560c71a7f1a52ae5f96158393ef441626aa5)
🤖
Function signature fixes - Update
libxml_get_errors()
(#3973), thanks @jack-worman!
🔍
Internals - Call
ProcessPromise::cancel()
from deferred canceller (https://github.com/phpstan/phpstan-src/commit/df4c1f39e9b63c2e58e7666c664f7c8ac2d74f26) - Solve some cases of dead code (https://github.com/phpstan/phpstan-src/commit/e1e8302327e791ce191f25a0b37f21d30e1cf7d6)
- Remove dead code (https://github.com/phpstan/phpstan-src/commit/d88e2fece595ca5190c1cf507f7b983bdd4695f8)
- Remove unused method from interface (https://github.com/phpstan/phpstan-src/commit/2ac0a171e66601ea3c1d80f7e4195a0f420d929c)
- Remove unused method from PathNotFoundException (https://github.com/phpstan/phpstan-src/commit/aaa1424c0f90fffc425c397219b26104a99e9231)
- Remove
getPhpDocReturnTypeWithUnresolvableTemplateTypes
fromResolvedFunctionVariantWithCallable
(https://github.com/phpstan/phpstan-src/commit/e3c76ade59ac2753d9ff073a7260d228bc424c50) - Remove more dead code (https://github.com/phpstan/phpstan-src/commit/2f66ec60f9d2a9ff9d8a87a914f31dd121a9ed18)
- Install & configure shipmonk/dead-code-detector (#3996), thanks @janedbal!
- Drop unused SymfonyStyle::getSymfonyStyle (#3996), thanks @janedbal!
- Drop unused NeonAdapter::dump (#3996), thanks @janedbal!
- Drop unused FileMonitor::getTotalFilesCount (#3996), thanks @janedbal!
- Drop unused SetterReflectionProviderProvider (#3996), thanks @janedbal!
- Drop dead dataProvider in ExistingClassesInTypehintsRuleTest (#3996), thanks @janedbal!
- Drop unused ResolvedPropertyReflection::getDeclaringTrait (#3996), thanks @janedbal!
- Drop unused ProcessPromise::getName (#3996), thanks @janedbal!
- Drop unused PhpDocBlock::isExplicit (#3996), thanks @janedbal!
- Drop dead TemplateTypeTrait::shouldGeneralizeInferredType (overwritten in all children) (#3996), thanks @janedbal!
- SimultaneousTypeTraverser to be covered by BC promise (#3996), thanks @janedbal!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.