{"repo":"adamculp/php-code-quality","free":true,"listed":false,"github":"https://github.com/adamculp/php-code-quality","clone":"git clone https://github.com/adamculp/php-code-quality.git","description":"Docker image containing multiple code quality tools for PHP (phpqatools and more).","language":"Dockerfile","stars":158,"topics":["php","php7","phpqatools","code-quality","static-analysis","php-codesniffer","phpmetrics","pdepend","phpmd","phploc"],"license":"MIT","category":"dev-tools","readme_excerpt":"php-code-quality My objective is to include multiple PHP code quality tools in an easy-to-use Docker image. The tools include PHP static analysis, lines of PHP code report, mess detector, code smell highlighting, copy/paste detection, and the application compatibility from one version of PHP to another for modernization efforts. More specifically the Docker image includes: - phpstan/phpstan - squizlabs/php codesniffer - phpcompatibility/php-compatibility - phploc/phploc - phpmd/phpmd - pdepend/pdepend - sebastian/phpcpd - phpmetrics/phpmetrics - phpunit/phpunit - friendsofphp/php-cs-fixer Now available through both Docker Hub and GitHub Container Repository. (see below) Usage Note: This image does nothing when invoking it without a followup command (as shown below in Some example commands for each tool), such as: Also, note the example above is for using the Docker Hub repository. Alternatively, you can also use the GitHub Package repository as well by prepending ghcr.io/ to the image identifier, like the following: (Replacing the placeholders in angle brackets with your values.) WINDOWS USERS: The use of \"$PWD\" for present working directory will not work as expected, instead use \"%cd%\" or the full path. Such as \"//c/Users/adamculp/project\". In the example above, Docker runs an interactive terminal to be removed when all is completed, and mounts the current host directory ($PWD) inside the container, sets this as the current working directory, and then loads the image adamcul","default_branch":null,"files":null,"tree":[],"storefront":"/r/adamculp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adamculp/php-code-quality/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}