Skip to content

Let PHPStan pass on a Livewire 3 resolve - #33

Merged
imanimanyara merged 1 commit into
mainfrom
ci/phpstan-livewire3
Oct 5, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
ci/phpstan-livewire3

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

require-dev allows livewire ^3.0||^4.0, but Testable only became generic
in Livewire 4.0.0, so a prefer-lowest resolve (v3.8.x) rejects the
Testable PHPDoc that v4 needs at level max. Ignore that one
identifier in FluentRulesTester only; under v4 the ignore never matches.
Verified at prefer-lowest (Livewire 3.8.3) and prefer-stable (4.4.7).

require-dev allows livewire ^3.0||^4.0, but Testable only became generic
in Livewire 4.0.0, so a prefer-lowest resolve (v3.8.x) rejects the
Testable<Component> PHPDoc that v4 needs at level max. Ignore that one
identifier in FluentRulesTester only; under v4 the ignore never matches.
Verified at prefer-lowest (Livewire 3.8.3) and prefer-stable (4.4.7).
Copilot AI balanced review requested due to automatic review settings October 5, 2026 18:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@imanimanyara
imanimanyara merged commit 0440ac7 into main Oct 5, 2026
7 checks passed
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