Bump phpstan/phpstan from 1.10.35 to 1.10.36
Bumps phpstan/phpstan from 1.10.35 to 1.10.36.
Release notes
Sourced from phpstan/phpstan's releases.
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
-
ffa3089
PHPStan 1.10.36 -
5b84f9f
Updated PHPStan to commit 5b84f9f0da56e377ee56730d82f28b0a9c6caabe -
2b9af36
Updated PHPStan to commit 2b9af363a3d2a9620c4b9bfb65e81813b69623d0 -
dcfa3b1
Updated PHPStan to commit dcfa3b11b5d15b5f3f51fd1bcdcfbd90522f9df6 -
7db9166
Update baselines -
65cda8b
Updated PHPStan to commit 65cda8b95caa36fb5abe807bd7c03a91eab14e6f -
e3023e0
Updated PHPStan to commit e3023e0c451fb62030fe08b78039a5480d89a912 -
d25b897
Updated PHPStan to commit d25b897cc6671e7042cf669c9efe3ec05dde1a47 -
2011cfe
Updated PHPStan to commit 2011cfe035b01980f92f894b003ac9a93317469f -
cbefca4
Updated PHPStan to commit cbefca4caf56679d53c86cc08b3d46b7de1fcc5c - 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