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

Seeing phpcs: Referenced sniff "PHPCompatibility" does not exist #176

Open
aurooba opened this issue Apr 20, 2023 · 5 comments
Open

Seeing phpcs: Referenced sniff "PHPCompatibility" does not exist #176

aurooba opened this issue Apr 20, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@aurooba
Copy link
Collaborator

aurooba commented Apr 20, 2023

I cannot get the local version of PHPCS to work unless I delete the phpcs.xml.dist file in tangent, and my editor will constantly show this error:

Screen Shot 2023-04-19 at 9 38 46 PM

I tried a bunch of things but I'm not 100% sure what's going on.

@aurooba aurooba added the bug Something isn't working label Apr 20, 2023
@bacoords
Copy link
Owner

What version of php are you running it on?

@aurooba
Copy link
Collaborator Author

aurooba commented Apr 20, 2023

Tested on PHP 7.4.33 and 8.1.15

@bacoords
Copy link
Owner

Is this package installed: "phpcompatibility/phpcompatibility-wp": "^2.1.4", and did this post install function run: @phpcs-config-set?

@aurooba
Copy link
Collaborator Author

aurooba commented Apr 23, 2023

Image

Yep, it's installed and I tested running the post install function manually as well.

@aurooba
Copy link
Collaborator Author

aurooba commented Apr 24, 2023

Let's test in codespaces see what happens

@aurooba aurooba added this to the Release 0.1 milestone Apr 24, 2023
@aurooba aurooba removed this from the Release 0.1 milestone Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants