Download the PHP package drawmyattention/phpunit-code-quality without Composer
On this page you can find all versions of the php package drawmyattention/phpunit-code-quality. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download drawmyattention/phpunit-code-quality
More information about drawmyattention/phpunit-code-quality
Files in drawmyattention/phpunit-code-quality
Package phpunit-code-quality
Short Description Automatically PHP check code quality once PHPUnit tests pass
License MIT
Informations about the package phpunit-code-quality
PHPUnit Code Quality
Automatically check code quality once your PHPUnit tests pass.
Installation
Installation is performed via Composer.
Register a test listener to your phpunit.xml
file:
Configuring Project Settings
You can define which directories are scanned for code quality checking, as well as which directories and files are excluded. Sensible defaults are provided. By default, code stored in your src
directory is checked, and any code in your tests
directory is excluded.
You can create a complexity-analyser-config.php
file in your project's root directory to specify alternative settings. See the provided config file, or copy and paste the following example:
Because this application utilises PHP Mess Detector to check code quality, you can define which rules should be applied when checking code quality. A full list of rules is available here.
Contributing
If you find a bug or would like to contribute to the development of this package, please submit a pull-request (with tests if possible).
All versions of phpunit-code-quality with dependencies
symfony/console Version ^3.2
symfony/process Version ^3.2
phpmd/phpmd Version ^2.6
mockery/mockery Version ^0.9.9