Bump phpstan/phpstan from 1.10.35 to 1.10.37
Bumps phpstan/phpstan from 1.10.35 to 1.10.37.
Release notes
Sourced from phpstan/phpstan's releases.
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
!- Fix ConstantFloatType value dump precision (#2358), thanks
@mvorisek
!- Do not trigger PhpDocInheritanceResolver if we do not need the PHPDoc type when resolving the type of ClassConstFetch (#2414), #9039, thanks
@VincentLanglet
!Function signature fixes
🤖
connection_*
functions are impure (#2555), thanks@staabm
!- Add stubs for
mysqli
andmysqli_result
classes (#2295), thanks@phansys
!Internals
🔍
- E2E test about env variables in config parameters (https://github.com/phpstan/phpstan-src/commit/980ab5bba4de0246587647e8cf6b7abe95697379)
- Prevent unnecessary calls to
getFiniteTypes()
(#2636), thanks@staabm
!- Remove unnecessary IO (#2613), thanks
@staabm
!- Restrict "Merge maintained branch" workflow to the main repository (#2654), thanks
@thg2k
!
Commits
-
058ba07
PHPStan 1.10.37 -
1623582
Updated PHPStan to commit 1623582d5fd5eacc8b89c1ad5b1ec54e48c1d6c0 -
b53ba52
Updated PHPStan to commit b53ba52acc6873c4ea9bf60e98bb9490665f783f -
f84df88
Updated PHPStan to commit f84df8859d2c1ce57ce8b740f963354ff25d7c57 -
ed46da5
Update baselines -
f57052d
Updated PHPStan to commit f57052d2b7dff313a0e842254e463dc930f70b65 -
ffa3089
PHPStan 1.10.36 -
5b84f9f
Updated PHPStan to commit 5b84f9f0da56e377ee56730d82f28b0a9c6caabe -
2b9af36
Updated PHPStan to commit 2b9af363a3d2a9620c4b9bfb65e81813b69623d0 -
dcfa3b1
Updated PHPStan to commit dcfa3b11b5d15b5f3f51fd1bcdcfbd90522f9df6 - 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