PHP code example of drawmyattention / phpunit-code-quality
1. Go to this page and download the library: Download drawmyattention/phpunit-code-quality library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
drawmyattention / phpunit-code-quality example snippets
return [
// Directories which should be checked for code quality
'scan_directories' => [
'src',
],
// Directories which should not be checked
'excluded_directories' => [
'app/Support',
'tests',
],
// Files which should not be checked
'excluded_files' => [
'app/Http/Controllers/SomeController.php',
],
];