Update dependency phpstan/phpstan to v1.10.26
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.25 -> 1.10.26
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.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)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.