Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS/QA: remove redundant condition #2509

Merged
merged 1 commit into from
Nov 14, 2024
Merged

CS/QA: remove redundant condition #2509

merged 1 commit into from
Nov 14, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 11, 2024

Even though PR #2507 ensured we didn't automatically move onto PHPStan 2.0, the build is still failing as PHPStan 1.12.9 contained a change which causes a new error to show up.

This commit fixes the newly flagged issue to allow builds to pass again.

Ref: https://github.com/phpstan/phpstan/releases/tag/1.12.9

Even though PR 2507 ensured we didn't automatically move onto PHPStan 2.0, the build is still failing as PHPStan 1.12.9 contained a change which causes a new error to show up.

This commit fixes [the newly flagged issue](https://github.com/WordPress/WordPress-Coding-Standards/actions/runs/11775908547/job/32797254994) to allow builds to pass again.

Ref: https://github.com/phpstan/phpstan/releases/tag/1.12.9
@GaryJones GaryJones merged commit 782d393 into develop Nov 14, 2024
46 checks passed
@GaryJones GaryJones deleted the feature/fix-phpstan branch November 14, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants