chore(deps): update dependency phpstan/phpstan to ^2.1.12 #312

Merged
Xefir merged 1 commits from renovate/phpstan-phpstan-2.x into main 2025-04-17 06:04:29 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
phpstan/phpstan require-dev patch ^2.1.11 -> ^2.1.12

Release Notes

phpstan/phpstan (phpstan/phpstan)

v2.1.12

Compare Source

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍


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, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [phpstan/phpstan](https://github.com/phpstan/phpstan) | require-dev | patch | `^2.1.11` -> `^2.1.12` | --- ### Release Notes <details> <summary>phpstan/phpstan (phpstan/phpstan)</summary> ### [`v2.1.12`](https://github.com/phpstan/phpstan/releases/tag/2.1.12) [Compare Source](https://github.com/phpstan/phpstan/compare/2.1.11...2.1.12) # Improvements 🔧 - Remember narrowed types from the constructor when analysing other methods ([#&#8203;3930](https://github.com/phpstan/phpstan-src/pull/3930)), [#&#8203;12860](https://github.com/phpstan/phpstan/issues/12860), [#&#8203;10048](https://github.com/phpstan/phpstan/issues/10048), [#&#8203;11828](https://github.com/phpstan/phpstan/issues/11828), [#&#8203;9075](https://github.com/phpstan/phpstan/issues/9075), [#&#8203;6063](https://github.com/phpstan/phpstan/issues/6063), [#&#8203;12723](https://github.com/phpstan/phpstan/issues/12723), thanks [@&#8203;staabm](https://github.com/staabm)! - DeprecationExtensions: allow custom deprecation-marking logic ([#&#8203;3932](https://github.com/phpstan/phpstan-src/pull/3932)), thanks [@&#8203;janedbal](https://github.com/janedbal)! - Learn more: https://phpstan.org/developing-extensions/custom-deprecations - TypeInferenceTestCase - show analysed symbols that do not exist next to failure (misconfigured autoloading) (https://github.com/phpstan/phpstan-src/commit/fdd5ad933d2264be29812eb713d0f15519d5cb3f, https://github.com/phpstan/phpstan-src/commit/a2834bcc6894f8d0dce299507735473cfa1f8f54) - RuleTestCase - show analysed symbols that do not exist next to failure (misconfigured autoloading) (https://github.com/phpstan/phpstan-src/commit/c5cf14ba60139fb40a1e26973a115778a9e82815, https://github.com/phpstan/phpstan-src/commit/a2834bcc6894f8d0dce299507735473cfa1f8f54) - Allow toggling `discoveringSymbols` tip ([#&#8203;3929](https://github.com/phpstan/phpstan-src/pull/3929)), https://github.com/phpstan/phpstan/discussions/12859, thanks [@&#8203;herndlm](https://github.com/herndlm)! - Faster processing of array comparisons with constant offsets ([#&#8203;3933](https://github.com/phpstan/phpstan-src/pull/3933)), [#&#8203;12800](https://github.com/phpstan/phpstan/issues/12800), thanks [@&#8203;staabm](https://github.com/staabm)! - ClassReflection: narrow getNativeReflection after isEnum is true ([#&#8203;3925](https://github.com/phpstan/phpstan-src/pull/3925)), thanks [@&#8203;janedbal](https://github.com/janedbal)! - ResultCacheManager: support dots in parametersNotInvalidatingCache ([#&#8203;3939](https://github.com/phpstan/phpstan-src/pull/3939)), thanks [@&#8203;janedbal](https://github.com/janedbal)! - ResultCacheManager: configurable days causing cache skip ([#&#8203;3941](https://github.com/phpstan/phpstan-src/pull/3941)), thanks [@&#8203;janedbal](https://github.com/janedbal)! # Bugfixes 🐛 - This release includes fixes from [PHPStan 1.12.24](https://github.com/phpstan/phpstan/releases/tag/1.12.24) - RegexArrayShapeMatcher - enforce list type when no named captures ([#&#8203;3899](https://github.com/phpstan/phpstan-src/pull/3899)), [#&#8203;12397](https://github.com/phpstan/phpstan/issues/12397), [#&#8203;11602](https://github.com/phpstan/phpstan/issues/11602), thanks [@&#8203;staabm](https://github.com/staabm)! - Fix elapsed time format for result cache restore time ([#&#8203;3890](https://github.com/phpstan/phpstan-src/pull/3890)), thanks [@&#8203;janedbal](https://github.com/janedbal)! - Limit int ranges when narrowing arrays via `count()` ([#&#8203;3902](https://github.com/phpstan/phpstan-src/pull/3902)), [#&#8203;12787](https://github.com/phpstan/phpstan/issues/12787), thanks [@&#8203;herndlm](https://github.com/herndlm)! - Fixed false positive about undefined property guarded with property_exists (https://github.com/phpstan/phpstan-src/commit/3d5293075344157864219e5833bbfa69d60ec7be) - Fixed false positive about undefined method guarded with method_exists (https://github.com/phpstan/phpstan-src/commit/ae5562fc29737d3f4a724bdd351c23f1347d569d), [#&#8203;12793](https://github.com/phpstan/phpstan/issues/12793) - Offset on list definitely exists if there's HasOffsetType with higher number ([#&#8203;3905](https://github.com/phpstan/phpstan-src/pull/3905)), [#&#8203;12605](https://github.com/phpstan/phpstan/issues/12605), thanks [@&#8203;staabm](https://github.com/staabm)! - Set offset on list keeps list if there's HasOffsetType for all preceeding offsets ([#&#8203;3909](https://github.com/phpstan/phpstan-src/pull/3909)), thanks [@&#8203;staabm](https://github.com/staabm)! - Fix union/intersect involving enum case ([#&#8203;3907](https://github.com/phpstan/phpstan-src/pull/3907)), [#&#8203;12163](https://github.com/phpstan/phpstan/issues/12163), thanks [@&#8203;schlndh](https://github.com/schlndh)! - Fix lost list type if substituted a element via loop ([#&#8203;3908](https://github.com/phpstan/phpstan-src/pull/3908)), [#&#8203;12274](https://github.com/phpstan/phpstan/issues/12274), thanks [@&#8203;staabm](https://github.com/staabm)! - Fix signature type for default-null parameters ([#&#8203;3912](https://github.com/phpstan/phpstan-src/pull/3912)), [#&#8203;7522](https://github.com/phpstan/phpstan/issues/7522), [#&#8203;12282](https://github.com/phpstan/phpstan/issues/12282), thanks [@&#8203;VincentLanglet](https://github.com/VincentLanglet)! - ObjectType: fix isEnum ([#&#8203;3915](https://github.com/phpstan/phpstan-src/pull/3915)), [#&#8203;12832](https://github.com/phpstan/phpstan/issues/12832), thanks [@&#8203;janedbal](https://github.com/janedbal)! - Fix `matches[0]` type for regexes containing `\K` ([#&#8203;3920](https://github.com/phpstan/phpstan-src/pull/3920)), [#&#8203;12792](https://github.com/phpstan/phpstan/issues/12792), thanks [@&#8203;mvorisek](https://github.com/mvorisek)! - TypeCombinator returns `non-empty-array` for union of `isIterableAtLeastOnce()->yes()` ([#&#8203;3937](https://github.com/phpstan/phpstan-src/pull/3937)), [#&#8203;12847](https://github.com/phpstan/phpstan/issues/12847), thanks [@&#8203;staabm](https://github.com/staabm)! # Function signature fixes 🤖 - More precise return type for strspn and strcspn ([#&#8203;3918](https://github.com/phpstan/phpstan-src/pull/3918)), thanks [@&#8203;claudepache](https://github.com/claudepache)! - Improve `getopt()` function stub ([#&#8203;3655](https://github.com/phpstan/phpstan-src/pull/3655)), [#&#8203;12103](https://github.com/phpstan/phpstan/issues/12103), thanks [@&#8203;janedbal](https://github.com/janedbal)! # Internals 🔍 - Added regression test ([#&#8203;3904](https://github.com/phpstan/phpstan-src/pull/3904)), thanks [@&#8203;staabm](https://github.com/staabm)! </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Renovate added 1 commit 2025-04-17 00:04:03 +00:00
Xefir merged commit d3d3ffddd3 into main 2025-04-17 06:04:29 +00:00
Xefir deleted branch renovate/phpstan-phpstan-2.x 2025-04-17 06:04:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Xefir/repod#312
No description provided.