Automated WordPress coding standard checks

It appears that Envato doesn’t provide any official tooling for getting WordPress plugins and themes compliant with the suggested coding standards so I created a WPCSforEnvato ruleset for PHP_CodeSniffer:

See the readme for instructions for how to add this to any theme or plugin using Composer.

It is based on the official WordPress coding standard but relaxed to match the minimum requirements described in the official Envato support docs mentioned above.

Look forward to your feedback and suggestions!

1 Like