Skip to content

Fix phpstan build#4229

Merged
antonmedv merged 1 commit into
deployphp:masterfrom
staabm:stam2
Jun 3, 2026
Merged

Fix phpstan build#4229
antonmedv merged 1 commit into
deployphp:masterfrom
staabm:stam2

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Jun 3, 2026

the ignored errors no longer appear in latest phpstan, which got rid of the false positives

parameters:
ignoreErrors:
-
message: "#^Comparison operation \"\\>\" between 100|125|200|100000 and 0 is always true\\.$#"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

All these errors are related to goto. Phpstan learned how to analyze it recently

@antonmedv
Copy link
Copy Markdown
Member

Awesome! Thanks a lot @staabm

@antonmedv antonmedv merged commit bbd950d into deployphp:master Jun 3, 2026
9 checks passed
@staabm staabm deleted the stam2 branch June 3, 2026 11:31
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