Bump phpstan/phpstan from 1.10.35 to 1.10.46
Bumps phpstan/phpstan from 1.10.35 to 1.10.46.
Release notes
Sourced from phpstan/phpstan's releases.
1.10.46
Improvements
🔧
- Improved
isset()
and ternary operator handling (#2710), #3632, #8190, #8366, #8659, #9580, #10064, #10088, thanks@staabm
!- Optimize enums with many cases (https://github.com/phpstan/phpstan-src/commit/b17d5290766ca3a4d413dbfe9e020c9fef4700c3)
Bugfixes
🐛
- Fix namespace of named type in class constant native type by patching PHP-Parser (https://github.com/phpstan/phpstan-src/commit/8234dc0b34c0748f6caa3be4130411562fb03f2c), #10212
- Do not create conditional expression for the same variable (https://github.com/phpstan/phpstan-src/commit/aec04068119f765ed7181ea737c20cea6916591d)
- It's okay to have always-throwing expression in arrow function (https://github.com/phpstan/phpstan-src/commit/758e5f118ac5781d597707666104511258fcaf67), #7890
Internals
🔍 1.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), #10201Function 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
🔍
... (truncated)
Commits
-
90d3d25
PHPStan 1.10.46 -
758e5f1
Updated PHPStan to commit 758e5f118ac5781d597707666104511258fcaf67 -
57a0949
Update baselines -
f449d98
Updated PHPStan to commit f449d986ff50ce69aaa81c9adcfb0ee904dbb944 -
aec0406
Updated PHPStan to commit aec04068119f765ed7181ea737c20cea6916591d -
8234dc0
Updated PHPStan to commit 8234dc0b34c0748f6caa3be4130411562fb03f2c -
6b5c6e4
Updated PHPStan to commit 6b5c6e4876768bca112e83fa036d5b2a9813f45e -
0a39b42
Updated PHPStan to commit 0a39b42f84c3b8436b79b2df678b0483735b5366 -
b17d529
Updated PHPStan to commit b17d5290766ca3a4d413dbfe9e020c9fef4700c3 -
0dba054
Updated PHPStan to commit 0dba054c2a851334d70781b871b2b3d0a04c6275 - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts