Bump phpstan/phpstan from 1.10.35 to 1.10.38
Bumps phpstan/phpstan from 1.10.35 to 1.10.38.
Release notes
Sourced from phpstan/phpstan's releases.
1.10.38
Improvements
🔧 Bugfixes
🐛
- Update BetterReflection
- Fix for non-backed enums (https://github.com/ondrejmirtes/BetterReflection/commit/4dd0f2bb17810ab0ee8f2a77c63d6b02f7b6d0d4)
- Do not invalidate types passed by value (https://github.com/phpstan/phpstan-src/commit/0b8dca74e5345244a955535b54e9874beae76713), https://github.com/phpstan/phpstan/discussions/9927
- Do not influence types of arguments before the function is called (https://github.com/phpstan/phpstan-src/commit/c45d42dd1d031016668099957d2b77706f208d67)
- Fixed collapsing of constant arrays (https://github.com/phpstan/phpstan-src/commit/746de74c5cdd339c9020cfb03784fb39229ed86a), #9985
Internals
🔍
- Lazier type-resolving in
isset
checks (#2664), thanks@staabm
!- Refactor to invalidate args inside
processArgs
(https://github.com/phpstan/phpstan-src/commit/52eb6f8e5f19a41b8a00ca331ba67c7cba8aa952)- Merge array types a bit later (https://github.com/phpstan/phpstan-src/commit/adbc35a1c72585df4586131f8e99b882bb64677d)
1.10.37
Bugfixes
🐛
- Support array shape covariance when the optional key is missing in the subtype (#2655), #9905, #5655, #7273, thanks
@staabm
!- Fix conditional types (#2659), #9951, #9963, thanks
@rvanvelzen
!- Handle exception thrown from callable object's
__invoke
method (#2502), #6233, thanks@VincentLanglet
!- Update BetterReflection
- ReflectionSourceStubber - fix enum as default function parameter value (https://github.com/ondrejmirtes/BetterReflection/commit/135a394e2fba447a788ac3a36818e4cde8b87ac4), nunomaduro/larastan#1749
1.10.36
Improvements
🔧
- DumpParametersCommand:
--json
option (https://github.com/phpstan/phpstan-src/commit/91a0002402123b96a08978ba400b5d76d5456693)- Implement
reportUncheckedExceptionDeadCatch
option (defaults totrue
) (#2648), #9921, thanks@VincentLanglet
!- Support union types in
array_chunk()
(#2635), thanks@staabm
!- Result cache: Indicate key differences in cache metadata (#2630), thanks
@staabm
!- Get rid of annoying "on an unknown class ReflectionEnum" error on PHP < 8.0 (https://github.com/phpstan/phpstan-src/commit/2b9af363a3d2a9620c4b9bfb65e81813b69623d0)
Bugfixes
🐛
- Fix resolving nested conditional types with union subjects (#2641), #9860, thanks
@rvanvelzen
!- Detect array_rand second parameter (#2633), #9803, thanks
@staabm
!- Fix subtracting types from union template types (#2652), #9939, thanks
@rvanvelzen
!- fix infinite cycle due to incorrect implements/extends (#2483), thanks
@schlndh
!
... (truncated)
Commits
-
5302bb4
PHPStan 1.10.38 -
e16a86d
Update baselines -
adbc35a
Updated PHPStan to commit adbc35a1c72585df4586131f8e99b882bb64677d -
6348cc3
Updated PHPStan to commit 6348cc3ae8001fd3e2b1ef84f151fe4311e61487 -
c45d42d
Updated PHPStan to commit c45d42dd1d031016668099957d2b77706f208d67 -
0b8dca7
Updated PHPStan to commit 0b8dca74e5345244a955535b54e9874beae76713 -
205928f
Updated PHPStan to commit 205928f62839de533d6840f2d3b82387db7a3c8b -
e242091
Updated PHPStan to commit e24209132c94f496b11c79bbb8ce5c6e283c0c7e -
885d7e9
Updated PHPStan to commit 885d7e977ed43ac854ecfe980afd34bc277eb6f7 -
5e9c916
Updated PHPStan to commit 5e9c916bf810c2479b2af74b42f15edc566d33e8 - 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