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

Use packaged wpcs #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Use packaged wpcs #1

wants to merge 1 commit into from

Conversation

mirekdlugosz
Copy link
Member

The latest currently available version of WordPress-Coding-Standards is 2.3.0, released in May 2020.

That version is not compatible with PHP 8.0. The compatibility was fixed in WordPress/WordPress-Coding-Standards@7cd46be just few months later.

As of January 2023, there is no version of PHP 7.x maintained upstream.

I am not interested in developing against unsupported version of PHP. On the other hand, there is no packaged version of WPCS I could use in PHP 8 environment.

As a temporary solution, I switched WPCS to git version. But we should switch back to packaged version as soon as there is PHP 8-compatible package available.

This PR contains changes that are assumed to be sufficient for the switch. But we will need to verify once WPCS releases new version.

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.

1 participant