CI: mise en cohérence des noms de scripts pour les tests.
Showing
+4 -7
... | ... | @@ -39,28 +39,27 @@ |
"jakub-onderka/php-parallel-lint": "^1.0", | ||
"maglnet/composer-require-checker": "^1.0", | ||
"phploc/phploc": "^4.0", | ||
"phpstan/phpstan": "^0.11.4", | ||
"phpunit/phpunit": "^7.3", | ||
"sebastian/phpcpd": "^4.0" | ||
}, | ||
"scripts": { | ||
"fix-cs": "@php vendor/bin/php-cs-fixer fix --verbose", | ||
"phploc": "@php vendor/bin/phploc --no-interaction src/php tests", | ||
"test": ["@test:static", "@test:phpunit"], | ||
"test:static": [ | ||
"test": [ | ||
"@test:lint", | ||
"@test:php-cs-fixer", | ||
"@test:phpmd", | ||
"@test:phpstan", | ||
"@test:phpcpd", | ||
"@test:composer-require-checker" | ||
"@test:composer-require", | ||
"@test:phpunit" | ||
], | ||
"test:lint": "@php vendor/bin/parallel-lint src/php tests -j $(nproc)", | ||
"test:php-cs-fixer": "@php vendor/bin/php-cs-fixer fix --dry-run --verbose --using-cache=false --show-progress=none --no-interaction", | ||
"test:phpmd": "@php vendor/bin/phpmd src/php,tests text ./phpmd-ruleset.xml", | ||
"test:phpcpd": "@php vendor/bin/phpcpd src/php tests --no-interaction --fuzzy", | ||
"test:phpstan": "@php vendor/bin/phpstan analyse --no-progress --no-interaction", | ||
"test:composer-require-checker": "@php -d xdebug.max_nesting_level=1000 vendor/bin/composer-require-checker --ignore-parse-errors", | ||
"test:composer-require": "@php -d xdebug.max_nesting_level=1000 vendor/bin/composer-require-checker --ignore-parse-errors", | ||
"test:phpunit": "@php vendor/bin/phpunit" | ||
}, | ||
"autoload": { | ||
... | ... |
Please register or sign in to comment