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

ERROR: Referenced sniff "PHPCompatibility.FunctionUse.RemovedFunctions" does not exist #110

Closed
itaymesh opened this issue Jan 30, 2024 · 3 comments · Fixed by #111
Closed

Comments

@itaymesh
Copy link

Hi
We have been using extra/GitHub-actions-m2/Magento-coding-standard/8.1@master for a few months already.
Lately, any action run ends with an error: Referenced sniff "PHPCompatibility.FunctionUse.RemovedFunctions" does not exist.
You can find the action run log here
I would appreciate any help.
Thank you
Itay

@sprankhub
Copy link
Collaborator

Weird, never seen this. Related: magento/magento-coding-standard#390

@fredden
Copy link
Contributor

fredden commented Feb 5, 2024

I've tracked this down to a change in dependencies in the magento-coding-standard: magento/magento-coding-standard@2a50cc7. We were setting an explicit installed_paths setting for PHP_CodeSniffer, but this is no longer compatible. I've switched to using the official plug-in in #111, which fixes this problem, and safe-guards us from future changes in dependencies.

@sprankhub
Copy link
Collaborator

Thanks, @fredden!

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 a pull request may close this issue.

3 participants