-
Notifications
You must be signed in to change notification settings - Fork 40
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
WPCS 2.0: Remove reference to WPCS' PHPAliases.php #322
Comments
That linked PR has now been merged. As WPCS If using Git, then checkout the WPCS If using Composer, then ensure the WPCS constraint is |
Depending on what exactly happens once we remove the reference, we may be able to fix the immediate issues with VIPCS |
I'm experiencing this issue with one of our builds. Downgrading to the |
Interestingly, we've already set the constraint for WPCS to be If the constraint of This 0.2.4 will fail to run though, due to the reference to the missing PHPCSAliases.php file. Even if this PHPAliases reference could be fixed, WPCS 2.0 still completely removes sniffs from the As such, it's only the next release (potentially 0.5.0, or maybe 1.0), where this can be fixed. |
@MattGeri As of right now, WPCS 1.2.1 is the latest release (until tomorrow anyway), so it sounds like your build system has a reference to Whether it applies to single or multiple projects, not using tags (or letting Composer handle it with constraints), but having a build system rely on We're actively working on the next VIPCS release and want to get it released soon. |
This should be at the top of the README. |
The very first line after the
The Requirements section also makes it clear that WPCS 1.* is needed. The composer.json also states the dependencies it works with. |
I ran into this issue running VVV. Currently, it appears to be running WPCS 2.1.0. |
The PHPCS compatibility file that was referencing a PHPCS aliases file in WPCS is no longer needed, since WPCS dropped support for PHPCS 2. Closes #322.
WPCS has a ticket to remove the
PHPAliases.php
file that VIPCS currently references.For WPCS 2.0, we'll need to remove our reference and see what other fixes, if anything, is needed to keep things working.
The text was updated successfully, but these errors were encountered: