Bump phpstan/phpstan from 1.10.35 to 1.10.45
Bumps phpstan/phpstan from 1.10.35 to 1.10.45.
Release notes
Sourced from phpstan/phpstan's releases.
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
🔍
- 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
!1.10.44
Improvements
🔧
- PHP 8.3: support for dynamic class constant fetches (RFC)
- PHP 8.3: support for anonymous readonly class
- RedefinedParametersRule (#2755), #8025, thanks
@paulbalandan
!- AbstractPrivateMethodRule (#2756), thanks
@staabm
!- ReadOnlyClassRule (https://github.com/phpstan/phpstan-src/commit/02b2e3d0885528724a1af91a1758b8f36e2167f4)
- InvalidLexicalVariablesInClosureUseRule (#2757), #1855, thanks
@paulbalandan
!- AbstractProtectedMethodRule (#2758), thanks
@staabm
!- VarTagTypeRuleHelper: do not allow widening
list<array{id: int}>
tomixed[]
(#2760), thanks@janedbal
!Bugfixes
🐛
... (truncated)
Commits
-
2f024fb
PHPStan 1.10.45 -
d147f4c
Updated PHPStan to commit d147f4cc626c500510f971ec715b55c03a45fab3 -
15483e5
Docker - use RC -
fd4dd96
Docker - publish images for PHP 8.3 -
604d1da
Updated PHPStan to commit 604d1da151cdc93c07bc25ba84e9fd2b705a1264 -
cbcb3d1
Updated PHPStan to commit cbcb3d1c6338a910cbb4366c4f7d1c180e70257f -
97d9ddf
Updated PHPStan to commit 97d9ddfe9c7c2875330d0dc9ddca69a7895abbf5 -
0177e33
Updated PHPStan to commit 0177e332f27c7cf7d710c1a535ddcdfd019e9b89 -
c8a7996
Updated PHPStan to commit c8a7996378123951066c55c6a5be1e4856379b8e -
e031e6f
Updated PHPStan to commit e031e6fb390d802b5b8d98918df7a0a9ff69eab1 - 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