Title: Problem with WordPress-Coding-Standards
Last modified: December 30, 2018

---

# Problem with WordPress-Coding-Standards

 *  [greathemes](https://wordpress.org/support/users/greathemes/)
 * (@greathemes)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/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.
    -  This topic was modified 7 years, 4 months ago by [greathemes](https://wordpress.org/support/users/greathemes/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-wordpress-coding-standards%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/problem-with-wordpress-coding-standards/#post-11037775)
 * Can you open an issue on GitHub? That code is not part of WordPress.

Viewing 1 replies (of 1 total)

The topic ‘Problem with WordPress-Coding-Standards’ is closed to new replies.

## Tags

 * [coding standards](https://wordpress.org/support/topic-tag/coding-standards/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/problem-with-wordpress-coding-standards/#post-11037775)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
