diff --git a/composer.json b/composer.json index 0fbd0111729a57e8861136fc308842a76a6bc47b..831cdaddc338c934fe7a2790f232047803ca5772 100644 --- a/composer.json +++ b/composer.json @@ -56,6 +56,8 @@ "post-update-cmd": "@customize-reminder", "post-create-project-cmd": "rm CUSTOMIZATION.md README.md LICENSE .docheader src/*.php tests/*.php", "customize-reminder": "echo 'Ne pas oublier de configurer ce template, cf. https://gitlab.irstea.fr/pole-is/tools/php-skeleton/blob/master/CUSTOMIZATION.md'", + "phploc": "vendor/bin/phploc src tests", + "fix-cs": "vendor/bin/php-cs-fixer fix", "test": [ "@test:lint", "@test:phpcpd", @@ -66,37 +68,17 @@ "@test:composer-require", "@test:security" ], - "phploc": [ - "vendor/bin/phploc src tests" - ], - "fix-cs": [ - "vendor/bin/php-cs-fixer fix" - ], "test:lint": [ "vendor/bin/parallel-lint src tests", "vendor/bin/php-cs-fixer fix --dry-run" ], - "test:phpcpd": [ - "vendor/bin/phpcpd --fuzzy src tests" - ], - "test:phpmd": [ - "vendor/bin/phpmd src,tests text ./phpmd-ruleset.xml" - ], - "test:phpstan": [ - "vendor/bin/phpstan analyse --ansi --no-progress src tests" - ], - "test:phpunit": [ - "vendor/bin/phpunit" - ], - "test:composer-validate": [ - "composer validate" - ], - "test:composer-require": [ - "vendor/bin/composer-require-checker check" - ], - "test:security": [ - "test '!' -s composer.lock || vendor/bin/security-checker security:check" - ] + "test:phpcpd": "vendor/bin/phpcpd --fuzzy src tests", + "test:phpmd": "vendor/bin/phpmd src,tests text ./phpmd-ruleset.xml", + "test:phpstan": "vendor/bin/phpstan analyse --ansi --no-progress src tests", + "test:phpunit": "vendor/bin/phpunit", + "test:composer-validate": "composer validate", + "test:composer-require": "vendor/bin/composer-require-checker check", + "test:security": "test '!' -s composer.lock || vendor/bin/security-checker security:check" }, "scripts-descriptions": { "fix-cs": "Applique les corrections automatiques de style.",