WordPress
Coding Standards
What are they?
Coding Conventions
General guidelines recognized by most developers and tend to result in higher quality software.
Coding Standards
Coding conventions that have been formally adopted by a team or organization.
They aren’t one-size-fits-all.
Standards
can change.
Why use them?
Easy to add, maintain and debug code.
Benefits of Standards
Coding standards are a good code mentor.
How do I use them?
Install Composer
getcomposer.org
Install Coding Standards�composer require wpscholar/phpcs-standards-wpscholar
Run PHP Code Sniffer�vendor/bin/phpcs . --standard=WPScholar
Add a Composer Script