phpstan/phpstan
### [`v1.11.7`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.7)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.6...1.11.7)
# Improvements š§
- Rework `match` expression analysis with enum with performance in mind (https://github.com/phpstan/phpstan-src/commit/b98abe01ca2a589c964970ea42128ae9b752890b), [#11263](https://togithub.com/phpstan/phpstan/issues/11263)
- DiagnoseExtension (https://github.com/phpstan/phpstan-src/commit/d55933fa0c8d6c9d91c5d30f70313e1c15b2c7f9)
- This extension can output any diagnostic information to stderr after analysis
- PHPStan displays this information when running the "analyse" command with `-vvv` CLI option.
- Result cache - debug message about successfully restored cache (https://github.com/phpstan/phpstan-src/commit/979055fceeaefec30c1eded52550012f0c1333b6)
- Show a hint about `-vv` for unignorable errors when generating the baseline (https://github.com/phpstan/phpstan-src/commit/d931c8987563fbe5a05e411722a6f53da6f1b555), [#3973](https://togithub.com/phpstan/phpstan/issues/3973)
- Limit the depth when resolving closure type for performance reasons (https://github.com/phpstan/phpstan-src/commit/2c08dfa8d0f975654d52fe279a950c54415076b5?w=1), [#11283](https://togithub.com/phpstan/phpstan/issues/11283)
- `MutatingScope::resolveType()` - cache closure body analysis data (https://github.com/phpstan/phpstan-src/commit/fd3115652b76278fa6ddf8ba40b41fc751642153), [#11283](https://togithub.com/phpstan/phpstan/issues/11283)
# Bugfixes š
- Observe `@no-named-arguments` above class (https://github.com/phpstan/phpstan-src/commit/815270d8933b9cdefa4613f0baf17bcbff91be6f), [#11275](https://togithub.com/phpstan/phpstan/issues/11275)
- Fix `count()` narrowing on $matches ([#3210](https://togithub.com/phpstan/phpstan-src/pull/3210)), [#11277](https://togithub.com/phpstan/phpstan/issues/11277), thanks [@staabm](https://togithub.com/staabm)!
- Try preventing "Method was not found in reflection of class" when getting a method prototype (https://github.com/phpstan/phpstan-src/commit/25658f64f0bcfe784893104864d92032cce33e96), [#11269](https://togithub.com/phpstan/phpstan/issues/11269), [#11251](https://togithub.com/phpstan/phpstan/issues/11251)
- RegexArrayShapeMatcher - support resetting non-capturing groups ([#3212](https://togithub.com/phpstan/phpstan-src/pull/3212)), [#11291](https://togithub.com/phpstan/phpstan/issues/11291), thanks [@staabm](https://togithub.com/staabm)!
- Prevent out-of-memory errors while regex array shape inference ([#3213](https://togithub.com/phpstan/phpstan-src/pull/3213)), [#11292](https://togithub.com/phpstan/phpstan/issues/11292), thanks [@staabm](https://togithub.com/staabm)!
# Function signature fixes š¤
- `getimagesize`, `getimagesizefromstring`: zero is a possible value for height and width ([#3207](https://togithub.com/phpstan/phpstan-src/pull/3207)), thanks [@mfruehauf](https://togithub.com/mfruehauf)!
# Internals š
- Faster `ObjectType::getEnumCases()` ([#3203](https://togithub.com/phpstan/phpstan-src/pull/3203), [#3204](https://togithub.com/phpstan/phpstan-src/pull/3204)), [#11263](https://togithub.com/phpstan/phpstan/issues/11263), thanks [@staabm](https://togithub.com/staabm)!
- Update composer-dependency-analyser to 1.6.0 ([#3205](https://togithub.com/phpstan/phpstan-src/pull/3205)), thanks [@janedbal](https://togithub.com/janedbal)!
Configuration
š Schedule: Branch creation - At any time (no schedule defined), 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, click this checkbox.
This PR contains the following updates:
1.11.6
->1.11.7
Release Notes
phpstan/phpstan
### [`v1.11.7`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.7) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.11.6...1.11.7) # Improvements š§ - Rework `match` expression analysis with enum with performance in mind (https://github.com/phpstan/phpstan-src/commit/b98abe01ca2a589c964970ea42128ae9b752890b), [#11263](https://togithub.com/phpstan/phpstan/issues/11263) - DiagnoseExtension (https://github.com/phpstan/phpstan-src/commit/d55933fa0c8d6c9d91c5d30f70313e1c15b2c7f9) - This extension can output any diagnostic information to stderr after analysis - PHPStan displays this information when running the "analyse" command with `-vvv` CLI option. - Result cache - debug message about successfully restored cache (https://github.com/phpstan/phpstan-src/commit/979055fceeaefec30c1eded52550012f0c1333b6) - Show a hint about `-vv` for unignorable errors when generating the baseline (https://github.com/phpstan/phpstan-src/commit/d931c8987563fbe5a05e411722a6f53da6f1b555), [#3973](https://togithub.com/phpstan/phpstan/issues/3973) - Limit the depth when resolving closure type for performance reasons (https://github.com/phpstan/phpstan-src/commit/2c08dfa8d0f975654d52fe279a950c54415076b5?w=1), [#11283](https://togithub.com/phpstan/phpstan/issues/11283) - `MutatingScope::resolveType()` - cache closure body analysis data (https://github.com/phpstan/phpstan-src/commit/fd3115652b76278fa6ddf8ba40b41fc751642153), [#11283](https://togithub.com/phpstan/phpstan/issues/11283) # Bugfixes š - Observe `@no-named-arguments` above class (https://github.com/phpstan/phpstan-src/commit/815270d8933b9cdefa4613f0baf17bcbff91be6f), [#11275](https://togithub.com/phpstan/phpstan/issues/11275) - Fix `count()` narrowing on $matches ([#3210](https://togithub.com/phpstan/phpstan-src/pull/3210)), [#11277](https://togithub.com/phpstan/phpstan/issues/11277), thanks [@staabm](https://togithub.com/staabm)! - Try preventing "Method was not found in reflection of class" when getting a method prototype (https://github.com/phpstan/phpstan-src/commit/25658f64f0bcfe784893104864d92032cce33e96), [#11269](https://togithub.com/phpstan/phpstan/issues/11269), [#11251](https://togithub.com/phpstan/phpstan/issues/11251) - RegexArrayShapeMatcher - support resetting non-capturing groups ([#3212](https://togithub.com/phpstan/phpstan-src/pull/3212)), [#11291](https://togithub.com/phpstan/phpstan/issues/11291), thanks [@staabm](https://togithub.com/staabm)! - Prevent out-of-memory errors while regex array shape inference ([#3213](https://togithub.com/phpstan/phpstan-src/pull/3213)), [#11292](https://togithub.com/phpstan/phpstan/issues/11292), thanks [@staabm](https://togithub.com/staabm)! # Function signature fixes š¤ - `getimagesize`, `getimagesizefromstring`: zero is a possible value for height and width ([#3207](https://togithub.com/phpstan/phpstan-src/pull/3207)), thanks [@mfruehauf](https://togithub.com/mfruehauf)! # Internals š - Faster `ObjectType::getEnumCases()` ([#3203](https://togithub.com/phpstan/phpstan-src/pull/3203), [#3204](https://togithub.com/phpstan/phpstan-src/pull/3204)), [#11263](https://togithub.com/phpstan/phpstan/issues/11263), thanks [@staabm](https://togithub.com/staabm)! - Update composer-dependency-analyser to 1.6.0 ([#3205](https://togithub.com/phpstan/phpstan-src/pull/3205)), thanks [@janedbal](https://togithub.com/janedbal)!Configuration
š Schedule: Branch creation - At any time (no schedule defined), 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 Renovate Bot.