Sign inSign up

chrisjean/wp-php-standards

By chrisjean

•Updated over 7 years ago

Tests a WordPress project to ensure compatibility with the WordPress PHP Coding Standards

Image
0

927

chrisjean/wp-php-standards repository overview

The WordPress PHP Coding Standards⁠ describe a consistent PHP coding style for all WordPress projects. This image allows for quick testing of your project to find any standards violations. It runs the WordPress Coding Standards⁠ standard in PHP_CodeSniffer⁠ and reports any warnings or errors that are found.

To run the tests, change into the directory for your project and run the following:

docker run -ti --rm -v $(pwd):/project chrisjean/wp-php-standards

Tag summary

Content type

Image

Digest

Size

172.1 MB

Last updated

over 7 years ago

docker pull chrisjean/wp-php-standards