Update dependency phpstan/phpstan to v1.10.45
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
phpstan/phpstan |
1.10.44 -> 1.10.45
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.45
🔧
Improvements - Introduce InvalidTypesInUnionRule (#2763), #9185, thanks @paulbalandan!
- Implement DeclareStrictTypesRule (#2766), #6195, thanks @staabm!
- Narrow
enum_exists()
arg to UnitEnum (#2764), #10169, thanks @staabm!
🐛
Bugfixes - Use dedicated Type methods over
isSuperTypeOf()
(#2772, #2787), #9778, #9723, #6407, thanks @staabm! - Optimize match expression with many conditions (https://github.com/phpstan/phpstan-src/commit/c238fe77f7041dd486c9c0f5ee582fee75bdbadd)
-
in_array
- simulate Identical/Equal handling from TypeSpecifier for literal arrays (https://github.com/phpstan/phpstan-src/commit/0177e332f27c7cf7d710c1a535ddcdfd019e9b89), #10201
🤖
Function signature fixes - Fix optional 4th parameter for
Redis::restore
(#2765), thanks @Vaalyn! - Put
str_increment
andstr_decrement
into functionMap (#2777), thanks @zonuexe! - Update functionMap (#2783), thanks @zonuexe!
- Update functionMap for
ext-mongodb
1.17 (#2768), thanks @alcaeus!
🔍
Internals - Replace with
in_array()
instead of redundant property (#2770), thanks @zonuexe! - Fix typo in rule name:
MethodVisibitiliyInInterfaceRule
(#2781), thanks @staabm! - Make extensions that return default types simply
return null
(#2782), thanks @zonuexe! - Simplify InArrayFunctionTypeSpecifyingExtension (#2785), thanks @staabm!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.