Problem with WordPress-Coding-Standards
-
Hello, I have a problem with WordPress Coding Standards. Some time ago new rules came out related to the principles of correct code writing, which I am very happy about.
I’m using this link below. I installed everything and now I have a problem, because when in the terminal I enter the phpcs –standard=WordPress my-file.php I have an error like:
ERROR: Referenced sniff “Generic.WhiteSpace.LanguageConstructSpacing” does not exist
I searched Google, but I did not find a solution. I’m fresh when it comes to phpcs, maybe the solution is easy, unfortunately I did not find it. Is there a missing library or plugin?
The same happens when I enter the WordPress-Extra standard. In the case of WordPress-Docs and WordPress-Core everything works.
Does anyone know any solution? Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Problem with WordPress-Coding-Standards’ is closed to new replies.