Bump phpstan/phpstan from 1.10.39 to 1.10.43
Bumps phpstan/phpstan from 1.10.39 to 1.10.43.
Release notes
Sourced from phpstan/phpstan's releases.
1.10.43
Improvements
🔧
- Update
phpstan/phpdoc-parser
- Fix HTML description detection for PhpStorm stubs (phpstan/phpdoc-parser#220), thanks
@schlndh
!- Make
ReflectionEnum
generic (https://github.com/phpstan/phpstan-src/commit/9ce8faf53c7a78c7887a2c33f9d34944605d6aae)Bugfixes
🐛
- Merge right scope of
??=
with scope before the expression (https://github.com/phpstan/phpstan-src/commit/846f44ee6e027853352674052510bc172a1bfc89), #10151, #10131- Fix return type of parent calls for SplHeap and other internal methods (#2622), #7162, #9867, thanks
@schlndh
!stdClass
does not have__get
method (https://github.com/phpstan/phpstan-src/commit/baf359ea3cfa99368eb94d80887cfd7bb0a00b85), #10149- Fix signature check of method from trait (https://github.com/phpstan/phpstan-src/commit/be2b4152837ce05273c55937b8a56daa19cb4d81), #10153
- All
universalObjectCratesClasses
allow dynamic properties (https://github.com/phpstan/phpstan-src/commit/2ec416e11202f150b880619c5bc6416bf17b8e3e)- Fix infinite recursion with self-referencing class constant (https://github.com/phpstan/phpstan-src/commit/93af41bf52b47bbfbc533efea75f515a4caddc0e), #10147
Internals
🔍 1.10.42
This release closes 25 issues!
🎉 Major new features
🚀
- PHP 8.3 - support for natively typed class constants (RFC)
- PHP 8.3 - support for
#[\Override]
attribute (https://github.com/phpstan/phpstan-src/commit/e9a563993f76e2504e4f6640a5a3da2e86ba8808) (RFC)
- New configuration option:
checkMissingOverrideMethodAttribute
(https://phpstan.org/config-reference#checkmissingoverridemethodattribute) (https://github.com/phpstan/phpstan-src/commit/ac4d3de8df284308b4879a5a01168a10c18c0bea)Bleeding edge
🔪
- Detect overriding
@final
method in OverridingMethodRule, #9135- MethodSignatureRule - look at abstract trait method (https://github.com/phpstan/phpstan-src/commit/5fd8cee591ce1b07daa5f98a1ddcdfc723f1b5eb)
- MagicConstantContextRule (#2741), #10099, thanks
@staabm
!If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Improvements
🔧
... (truncated)
Commits
-
2c4129f
PHPStan 1.10.43 -
93af41b
Updated PHPStan to commit 93af41bf52b47bbfbc533efea75f515a4caddc0e -
2ec416e
Updated PHPStan to commit 2ec416e11202f150b880619c5bc6416bf17b8e3e -
d0c0938
Updated PHPStan to commit d0c09389bcbb65a0d5ec8a12987c55e04eec0f2f -
fc23154
Updated PHPStan to commit fc23154e0a417d63d8e5a8036ceafe5405773ca3 -
93ef7c0
Use BetterReflection baseline -
380912b
Updated PHPStan to commit 380912bba690ff3a963257ea4f2586b6529ccf2a -
3863da9
Updated PHPStan to commit 3863da94553e875a8326f0c658f4e04b1ee30320 -
dce0a9f
Update baselines -
dacb505
Updated PHPStan to commit dacb505e5dffaa1e5ffcecafaaba2f13009ae4d6 - 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