chore(deps): update dependency phpstan/phpstan to v1.4.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.4.0 -> 1.4.2
|
Release Notes
phpstan/phpstan
v1.4.2
- CleaningParser - remove conditional code by
PHP_VERSION_ID
(https://github.com/phpstan/phpstan-src/commit/433511a3eb526b0a340277aeb48ff20f292922d1), #6386, https://github.com/api-platform/core/issues/4614, https://github.com/api-platform/api-platform/issues/2101 - Enums will no longer crash the playground (https://github.com/phpstan/phpstan-src/commit/121e0212db869fe0c42307a1485f27054d492041)
- Fix
ObjectType::equals()
when compared toEnumCaseObjectType
(https://github.com/phpstan/phpstan-src/commit/ab0245c49a16609da528d8e91dc5124b2c911ecb), #6394 - Fix calling method statically on string (https://github.com/phpstan/phpstan-src/commit/3aa878f2b22907b440055a714c605e8bb6e3de58), #6404
- Fix native type of variadic parameter (https://github.com/phpstan/phpstan-src/commit/a5447db695e55151c52d5cf67b489fceb7d51c43), #6393, #5698
- Update PhpStorm stubs (#930)
v1.4.1
🔧
Improvements - TypeSpecifier - understand
==
operator for the same types on both sides (https://github.com/phpstan/phpstan-src/commit/e40eff0a8e34ceae776e38d48a31efbe67ea399a), #6370, #4413 - Add
ClassReflection::getBackedEnumType()
method (https://github.com/phpstan/phpstan-src/commit/a0ed2d304e0344df34b49e010d5f491f0d321d3a) - Achieve
BenevolentUnionType
return type without dynamic return type extension (https://github.com/phpstan/phpstan-src/commit/723dfc51eab190ff940d0b0130b9986eb1b5d36a), https://github.com/phpstan/phpstan/discussions/6391
🐛
Bugfixes - Allow readonly property write in
__unserialize
(#929), thanks @ruudk! - Fix missing properties on
UnitEnum
andBackedEnum
(https://github.com/phpstan/phpstan-src/commit/67d3a882a85e53f36158e60a8cb30e997aca293c), #6385 -
ConstantArrayTypeBuilder
- fix for potential performance problems (https://github.com/phpstan/phpstan-src/commit/86b93068ae863a0377118dfe93c3b1286a8673b7), #6375
🤖
Function signature fixes - Add missing
Set::map()
method to functionMap (#923), thanks @simPod! -
gnupg_verify()
accepts false fot its signature param (#925), thanks @spaze! - Improve signature of
random_bytes()
(#926), thanks @staabm! - More precise
count_chars()
mode-param (#927), thanks @staabm! - More precise
getdate()
return type (#928), thanks @staabm!
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.