Bump phpstan/phpstan from 1.10.15 to 1.10.26
Bumps phpstan/phpstan from 1.10.15 to 1.10.26.
Release notes
Sourced from phpstan/phpstan's releases.
1.10.26
Improvements
🔧
- More precise return type for trigger_error (#2526), thanks
@paulbalandan
!Bugfixes
🐛
- Fix filtering default stub files on Windows (#2406), thanks
@maryo
!- FileHelper absolutize and normalize: Fix path with scheme (#2506), thanks
@mvorisek
!- Fix
array_keys()
and `array_values()`` on constant arrays (#2516), thanks@jlherren
!- Fix access to uninitialized property via extension in additional constructor (https://github.com/phpstan/phpstan-src/commit/218aad0804bebd8f0ad60eea69afb24d8fa4ca48), #9619
- Fix result cache bug with imported type aliases (https://github.com/phpstan/phpstan-src/commit/553c4b141b62244f629b22fe7e8054196cd73a58), #9622
- Fix result cache bug with imported type aliases in a trait (https://github.com/phpstan/phpstan-src/commit/d8071d0904e4b06a814a0b8b8d7f343d72db0633)
- Fix PHP 8.3 deprecation (
$foo--
with a non-numeric string no longer allowed) (https://github.com/phpstan/phpstan-src/commit/c6f4c4ceb7d7355ef761a6ffaa1b1574469789c6)- Array shape with optional keys might be a list (https://github.com/phpstan/phpstan-src/commit/97f0039fe568eec83607861c36718e8f79c481ff)
- ArrayMapFunctionReturnTypeExtension - preserve array being a list (https://github.com/phpstan/phpstan-src/commit/d55c4f2c207a6a07712cff2cdaba670fee950258)
Function signature fixes
🤖
- More precise
ftp_*
mode parameter type (#2513), thanks@staabm
!- Fix signature of
DOMNode::lookupNamespaceURI
(#2527), thanks@paulbalandan
!Internals
🔍
- Simplify access to class reflections in InClassNode rules (#2514), thanks
@mad-briller
!- Simplify access to class reflections in ClassPropertiesNode (#2520), thanks
@mad-briller
!- Simplify access to function reflection in FunctionReturnStatementsNode rules (#2522), thanks
@mad-briller
!- Set class and method reflection in the MethodReturnStatementNode (#2515), thanks
@mad-briller
!- Simplify access to class reflections in ClassConstantsNode and ClassMethodsNode rules (#2521), thanks
@mad-briller
!- Introduce InTraitNode (https://github.com/phpstan/phpstan-src/commit/657fc54b7d358622b791828f94a6a6d9d0f8207c)
- TrinaryLogic for
isList
in ConstantArrayType (https://github.com/phpstan/phpstan-src/commit/158c61c6777acb416fb5ff243916c1483b0f220a, https://github.com/phpstan/phpstan-src/commit/f0a9fd796e1b1d023affdb7fb4ffd344d79becd4)- Add polyfill for PHP 8.1 (https://github.com/phpstan/phpstan-src/commit/a8818be2f31d2bc33ac6ccb3c3f221248e70a514, https://github.com/phpstan/phpstan-src/commit/cda7e69587a3d46afe098bf7657af364f3980356)
1.10.25
Improvements
🔧
- Understand that promoted property can come from renamed trait constructor (https://github.com/phpstan/phpstan-src/commit/eafba2e09164846a010dc29e65bbc49c814941ae)
- Understand that methods called from constructor throwing exception cannot leave object in an uninitializad state (https://github.com/phpstan/phpstan-src/commit/f4d060b6888c8ef4469e99becfd23eb64c40da89)
Bugfixes
🐛
- Allow promoted properties in trait
__construct
even when renamed (https://github.com/phpstan/phpstan-src/commit/4dd3f753b1438c30e9ee882a3f2b4632b1a8cecc), #9577- IllegalConstructorStaticCallRule - fix for renamed trait constructor (https://github.com/phpstan/phpstan-src/commit/65330d3be77c4c7e28a2eb51b19850f8895c147a), #9577
... (truncated)
Commits
-
5d660cb
PHPStan 1.10.26 -
d55c4f2
Updated PHPStan to commit d55c4f2c207a6a07712cff2cdaba670fee950258 -
97f0039
Updated PHPStan to commit 97f0039fe568eec83607861c36718e8f79c481ff -
b71aa34
Updated PHPStan to commit b71aa34e6a36b6a32f61c7982ab2232bbd59bcff -
f0a9fd7
Updated PHPStan to commit f0a9fd796e1b1d023affdb7fb4ffd344d79becd4 -
a8818be
Updated PHPStan to commit a8818be2f31d2bc33ac6ccb3c3f221248e70a514 -
158c61c
Updated PHPStan to commit 158c61c6777acb416fb5ff243916c1483b0f220a -
0bb1496
Updated PHPStan to commit 0bb149618b0f81bce5264b94c89ea9de895287fb -
c6f4c4c
Updated PHPStan to commit c6f4c4ceb7d7355ef761a6ffaa1b1574469789c6 -
d22a9f1
Updated PHPStan to commit d22a9f1f8175badf1c1c857783583ee8f64f3bfe - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts