Skip to content

Bump PHPStan to 2.2.1 and use bare ... unsealed shape#86

Merged
ruudk merged 1 commit into
mainfrom
claude/phpstan-2-2-1-upgrade-8VhgP
May 28, 2026
Merged

Bump PHPStan to 2.2.1 and use bare ... unsealed shape#86
ruudk merged 1 commit into
mainfrom
claude/phpstan-2-2-1-upgrade-8VhgP

Conversation

@ruudk

@ruudk ruudk commented May 28, 2026

Copy link
Copy Markdown
Owner

PHPStan 2.2.1 no longer requires specifying the extra value type after
... at level 6+, so the verbose ...<int|string, mixed> form can be
replaced with the simpler ... shorthand. The HookLoader extras in the
batched Data class loaders shape similarly drop array<int, mixed> in
favor of array{...}.

PHPStan 2.2.1 no longer requires specifying the extra value type after
`...` at level 6+, so the verbose `...<int|string, mixed>` form can be
replaced with the simpler `...` shorthand. The HookLoader extras in the
batched Data class loaders shape similarly drop `array<int, mixed>` in
favor of `array{...}`.
@ruudk ruudk merged commit 330112b into main May 28, 2026
3 checks passed
@ruudk ruudk deleted the claude/phpstan-2-2-1-upgrade-8VhgP branch May 28, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants