Sign inSign up

luisgros/phptools

By luisgros

•Updated over 8 years ago

PHP Testing Tools

Image
0

2.0K

luisgros/phptools repository overview

⁠PHP Testing Tools

docker pull luisgros/phptools
docker run -v $(pwd):/src luisgros/phptools phpcs /path/to/php/file(s) --standard=psr2
docker run -v $(pwd):/src luisgros/phptools phpmd /path/to/files
docker run -v $(pwd):/src luisgros/phptools phploc /dir

PHP Code_Sniffer⁠

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 Mess Detector⁠

PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

PHP Copy/Paste Detector⁠

phpcpd is a Copy/Paste Detector (CPD) for PHP code.

PHP loc⁠

phploc is a tool for quickly measuring the size and analyzing the structure of a PHP project.

PHP Unit⁠

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Tag summary

Content type

Image

Digest

Size

405.3 MB

Last updated

over 8 years ago

docker pull luisgros/phptools