Docker Container with PHPCS setup for WordPress development
10K+
Dockerfile linkslatest, alpine Dockerfilestretch DockerfileThis is a Dockerised Solution for running PHPCS with WordPress Standards.
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.
The Wordpress Coding Standards apply to code within Wordpress and its contributed plugins.
docker pull willhallonline/wordpress-phpcs
docker pull willhallonline/wordpress-phpcs:alpine
docker run -it --rm -v $(pwd):/app willhallonline/wordpress-phpcs phpcs [YOUR-CODE]
docker run -it --rm -v $(pwd):/app willhallonline/wordpress-phpcs:alpine phpcs [YOUR-CODE]
docker run -it --rm -v $(pwd):/app willhallonline/wordpress-phpcs phpcbf [YOUR-CODE]
docker run -it --rm -v $(pwd):/app willhallonline/wordpress-phpcs:alpine phpcbf [YOUR-CODE]
Content type
Image
Digest
Size
53.9 MB
Last updated
over 7 years ago
docker pull willhallonline/wordpress-phpcs