phpstan/phpstan (phpstan/phpstan)
### [`v1.10.26`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.26)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.25...1.10.26)
# Improvements 🔧
- More precise return type for trigger_error ([#2526](https://togithub.com/phpstan/phpstan-src/pull/2526)), thanks [@paulbalandan](https://togithub.com/paulbalandan)!
# Bugfixes 🐛
- Fix filtering default stub files on Windows ([#2406](https://togithub.com/phpstan/phpstan-src/pull/2406)), thanks [@maryo](https://togithub.com/maryo)!
- FileHelper absolutize and normalize: Fix path with scheme ([#2506](https://togithub.com/phpstan/phpstan-src/pull/2506)), thanks [@mvorisek](https://togithub.com/mvorisek)!
- Fix `array_keys()` and \`array_values()\`\` on constant arrays ([#2516](https://togithub.com/phpstan/phpstan-src/pull/2516)), thanks [@jlherren](https://togithub.com/jlherren)!
- Fix access to uninitialized property via extension in additional constructor (https://github.com/phpstan/phpstan-src/commit/218aad0804bebd8f0ad60eea69afb24d8fa4ca48), [#9619](https://togithub.com/phpstan/phpstan/issues/9619)
- Fix result cache bug with imported type aliases (https://github.com/phpstan/phpstan-src/commit/553c4b141b62244f629b22fe7e8054196cd73a58), [#9622](https://togithub.com/phpstan/phpstan/issues/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](https://togithub.com/phpstan/phpstan-src/pull/2513)), thanks [@staabm](https://togithub.com/staabm)!
- Fix signature of `DOMNode::lookupNamespaceURI` ([#2527](https://togithub.com/phpstan/phpstan-src/pull/2527)), thanks [@paulbalandan](https://togithub.com/paulbalandan)!
# Internals 🔍
- Simplify access to class reflections in InClassNode rules ([#2514](https://togithub.com/phpstan/phpstan-src/pull/2514)), thanks [@mad-briller](https://togithub.com/mad-briller)!
- Simplify access to class reflections in ClassPropertiesNode ([#2520](https://togithub.com/phpstan/phpstan-src/pull/2520)), thanks [@mad-briller](https://togithub.com/mad-briller)!
- Simplify access to function reflection in FunctionReturnStatementsNode rules ([#2522](https://togithub.com/phpstan/phpstan-src/pull/2522)), thanks [@mad-briller](https://togithub.com/mad-briller)!
- Set class and method reflection in the MethodReturnStatementNode ([#2515](https://togithub.com/phpstan/phpstan-src/pull/2515)), thanks [@mad-briller](https://togithub.com/mad-briller)!
- Simplify access to class reflections in ClassConstantsNode and ClassMethodsNode rules ([#2521](https://togithub.com/phpstan/phpstan-src/pull/2521)), thanks [@mad-briller](https://togithub.com/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
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.10.25
->1.10.26
Release Notes
phpstan/phpstan (phpstan/phpstan)
### [`v1.10.26`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.26) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.25...1.10.26) # Improvements 🔧 - More precise return type for trigger_error ([#2526](https://togithub.com/phpstan/phpstan-src/pull/2526)), thanks [@paulbalandan](https://togithub.com/paulbalandan)! # Bugfixes 🐛 - Fix filtering default stub files on Windows ([#2406](https://togithub.com/phpstan/phpstan-src/pull/2406)), thanks [@maryo](https://togithub.com/maryo)! - FileHelper absolutize and normalize: Fix path with scheme ([#2506](https://togithub.com/phpstan/phpstan-src/pull/2506)), thanks [@mvorisek](https://togithub.com/mvorisek)! - Fix `array_keys()` and \`array_values()\`\` on constant arrays ([#2516](https://togithub.com/phpstan/phpstan-src/pull/2516)), thanks [@jlherren](https://togithub.com/jlherren)! - Fix access to uninitialized property via extension in additional constructor (https://github.com/phpstan/phpstan-src/commit/218aad0804bebd8f0ad60eea69afb24d8fa4ca48), [#9619](https://togithub.com/phpstan/phpstan/issues/9619) - Fix result cache bug with imported type aliases (https://github.com/phpstan/phpstan-src/commit/553c4b141b62244f629b22fe7e8054196cd73a58), [#9622](https://togithub.com/phpstan/phpstan/issues/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](https://togithub.com/phpstan/phpstan-src/pull/2513)), thanks [@staabm](https://togithub.com/staabm)! - Fix signature of `DOMNode::lookupNamespaceURI` ([#2527](https://togithub.com/phpstan/phpstan-src/pull/2527)), thanks [@paulbalandan](https://togithub.com/paulbalandan)! # Internals 🔍 - Simplify access to class reflections in InClassNode rules ([#2514](https://togithub.com/phpstan/phpstan-src/pull/2514)), thanks [@mad-briller](https://togithub.com/mad-briller)! - Simplify access to class reflections in ClassPropertiesNode ([#2520](https://togithub.com/phpstan/phpstan-src/pull/2520)), thanks [@mad-briller](https://togithub.com/mad-briller)! - Simplify access to function reflection in FunctionReturnStatementsNode rules ([#2522](https://togithub.com/phpstan/phpstan-src/pull/2522)), thanks [@mad-briller](https://togithub.com/mad-briller)! - Set class and method reflection in the MethodReturnStatementNode ([#2515](https://togithub.com/phpstan/phpstan-src/pull/2515)), thanks [@mad-briller](https://togithub.com/mad-briller)! - Simplify access to class reflections in ClassConstantsNode and ClassMethodsNode rules ([#2521](https://togithub.com/phpstan/phpstan-src/pull/2521)), thanks [@mad-briller](https://togithub.com/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
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.