Commit 8de904b1 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

CI: mise en cohérence des noms de scripts pour les tests.

Showing with 4 additions and 7 deletions
+4 -7
......@@ -49,9 +49,7 @@ test:lint: { <<: *php-test }
test:phpmd: { <<: *php-test }
test:phpstan: { <<: *php-test }
test:phpunit: { <<: *php-test }
test:composer-validate: { <<: *php-test }
test:composer-require: { <<: *php-test }
test:security: { <<: *php-test }
test:phpcpd:
<<: *php-test
......
......@@ -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": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment