Update dependency phpstan/phpstan to v1.10.19
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.18 -> 1.10.19
|
Release Notes
phpstan/phpstan
v1.10.19
🔪
Bleeding edge - Analysis with zero files results in non-zero exit code (https://github.com/phpstan/phpstan-src/commit/46ff440648e62617df86aa74ba905ffa99897737), #9410
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 - Detect invalid key in multi dimensional array fetch (#2445), #6315, thanks @schlndh!
- Support unions of scalars in
sprintf()
arguments (https://github.com/phpstan/phpstan-src/commit/1f955703eea90b7bdf8439ede81a5c6adda85af1) - Update nikic/php-parser (https://github.com/phpstan/phpstan-src/commit/51a284b8a8c04a06f430063f0267e168c048d88a)
- Update BetterReflection (https://github.com/phpstan/phpstan-src/commit/ff8ad7e9b3933911d321846bc43f678a43b067d8)
🐛
Bugfixes - UnusedPrivatePropertyRule - recognize static properties fetched on expr (https://github.com/phpstan/phpstan-src/commit/503978b05e412477d72bb5d846dade3c246f0f70), #9409, #8541
- Union of enum cases accepts the enum class type with negated cases (#2418), #8846, thanks @takaram!
- Fix key type of superglobal variables (#2446), #9306, thanks @schlndh!
- Do not treat definition of functions and class-likes as unreachable (#2263), #4002, #8966, #8319, thanks @takaram!
🤖
Function signature fixes
🔍
Internals - StringAlwaysAcceptingObjectWithToStringType is supertype of Stringable objects (https://github.com/phpstan/phpstan-src/commit/9de9efa67facca90b5c5c97851eaf8afff310b4e)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.