Title: Coding Standards
Last modified: February 25, 2020

---

# Coding Standards

 *  [mwoodpatrick](https://wordpress.org/support/users/mwoodpatrick/)
 * (@mwoodpatrick)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/coding-standards-2/)
 * When I run phpcs on the elementor source a few problems are consistently reported:
 * Class file names should be based on the class name with “class-” prepended. Expected
   class-control-button.php, but found button.php.
 * Missing file doc comment
 * Short array syntax is not allowed
 * I’m using the current WordPress rules as far as I can see. Where can I find a
   phpcs rule set which matches what the elementor team are doing in practice?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcoding-standards-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/coding-standards-2/#post-12482016)
 * Hi,
 * If you have a code-related question, please send it to our repo,
    with a detailed
   description.
 * [https://github.com/elementor/elementor](https://github.com/elementor/elementor)

Viewing 1 replies (of 1 total)

The topic ‘Coding Standards’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elementor](https://wordpress.org/support/users/davidr90/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/coding-standards-2/#post-12482016)
 * Status: not a support question