chore(deps): update dependency phpstan/phpstan to v1.4.9
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| phpstan/phpstan | require-dev | patch |
1.4.8 -> 1.4.9
|
Release Notes
phpstan/phpstan
v1.4.9
Improvements 🔧
-
Identical(===and!==) andEqual(==and!=) with the same variables resolve toConstantBooleanType(https://github.com/phpstan/phpstan-src/commit/98c4d84ec983fb36992119d4c393d7192a2a99b6) - Scalars of the same type on both of
Equal(==and!=) are delegated toIdentical(===and!==) (https://github.com/phpstan/phpstan-src/commit/316f269d6e81fcfa435f74cb1155076e349f053f)
Bugfixes 🐛
- Fix trait detection recursion (#1050), #6740, thanks @herndlm!
- Do not add
nullto a template type for a default parameter valuenull(https://github.com/phpstan/phpstan-src/commit/7a66cb6eda85703811c7dce472355e036d70c144), #6584 - Fix nullable closure parameter type (https://github.com/phpstan/phpstan-src/commit/c05ba984a08d1fa50e0edf63e99a9a893e78e821), #6701
- TemplateType - fix description for subtracted mixed bound (https://github.com/phpstan/phpstan-src/commit/6525d6805b1beece69ec97802bdf16dd8545cfdf)
- Fix dead catch when iterating objects (#1051), #5903, thanks @rajyan!
- Fix false positive dead catch on property assignment (#1047), #6256, thanks @rajyan!
- Fix template type subtraction and union (https://github.com/phpstan/phpstan-src/commit/51e2df38ee7fbda5416e1c5c1091dacf8618f3e1), #6591
- Simulate
offsetSetto get throw points for ArrayAccess assignment (#1054), #4852, thanks @rajyan! - Make return type extension for
array_column()aware of PHP version (#1053), thanks @jlherren! - Fix Unused private constant with an indirect access (#1059), #6758, thanks @rajyan!
- Fix
Equal(==and!=) handling in TypeSpecifier (https://github.com/phpstan/phpstan-src/commit/10b295f3cde7d91cc2b2784fc012910be6a06fb8) - Fix more TypeSpecifier issues regarding
Identical(===and!==) (#1058)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.