Changement des scripts de composer.
Showing
+9 -25
... | ... | @@ -44,40 +44,24 @@ |
"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:lint", | ||
"@test:php-cs-fixer", | ||
"@test:phploc", | ||
"@test:phpmd", | ||
"@test:phpstan", | ||
"@test:phpcpd", | ||
"@test:composer-require-checker" | ||
], | ||
"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:phploc": [ | ||
"@php vendor/bin/phploc --no-interaction src/php tests" | ||
], | ||
"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:phpunit": [ | ||
"@php vendor/bin/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:phpunit": "@php vendor/bin/phpunit" | ||
}, | ||
"autoload": { | ||
"psr-4": { "Irstea\\NgModelGeneratorBundle\\": "src/php/" } | ||
... | ... |
Please register or sign in to comment