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

chore: bump PHPStan to level 8 and generate baseline. #209

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

justlevine
Copy link
Contributor

What

This PR bumps the PHPStan ruleset to level 8, while adding a baseline to ignore existing PHP errors.

Why

It seems my previous PRs around code quality were too aspirational. By bumping the ruleset now we can prevent the introduction of even more PHP errors into the codebase, while providing a clear to-do list for the existing errors that need to be addressed.

@justlevine justlevine requested a review from a team as a code owner March 24, 2024 10:55
Copy link

changeset-bot bot commented Mar 24, 2024

🦋 Changeset detected

Latest commit: c9e6394

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@justlevine justlevine force-pushed the chore/phpstan-lvl-8 branch 2 times, most recently from c3aa5fa to cd3d7db Compare March 24, 2024 10:57
@justlevine justlevine force-pushed the chore/phpstan-lvl-8 branch from cd3d7db to c9e6394 Compare March 24, 2024 11:00
@justlevine
Copy link
Contributor Author

(Apologies for the force pushes, accidentally started on the wrong base branch)

@mindctrl mindctrl merged commit 7b49863 into wpengine:main Mar 25, 2024
5 of 6 checks passed
@mindctrl
Copy link
Contributor

Thanks @justlevine!

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