"scripts": {
"fix:php": [
"php vendor/bin/php-cs-fixer fix --diff"
],
"test:php": [
"php vendor/bin/php-cs-fixer fix --diff --dry-run"
],
"test:md": [
"php vendor/bin/phpmd --color --verbose -- src/ tests/ text ruleset.xml"
],
"test:unit": [
"php vendor/bin/phpunit --color"
],
"test": [
"@test:php",
"@test:md",
"@test:unit"
],
"grumphp:precommit": [
"php vendor/bin/grumphp git:pre-commit --no-interaction"
],
"grumphp:run": [
"php vendor/bin/grumphp run"
]
},
"scripts-descriptions": {
"fix:php": "Fix code with PHP CS Fixer",
"test:php": "Test code with PHP CS Fixer",
"test:md": "Run PHP Mess Detector tests",
"test:unit": "Run PHPUnit tests",
"test": "Run all tests",
"grumphp:precommit": "Run GrumPHP on staged files",
"grumphp:run": "Run GrumPHP on all files"
}