Skip to content

Commit

Permalink
add composer commands for php-cs-fixer and phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-rolland committed Sep 10, 2024
1 parent 0ba0f31 commit 4007fa7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@
],
"unit-tests": [
"@php -d date.timezone=UTC ./vendor/phpunit/phpunit/phpunit -c tests/Unit/phpunit.xml"
]
],
"php-cs-fixer": "@php ./vendor/bin/php-cs-fixer fix --path-mode=intersection",
"php-cs-fixer:dry": "@php ./vendor/bin/php-cs-fixer fix --dry-run --diff --path-mode=intersection",
"phpstan": "@php ./vendor/bin/phpstan analyze -c phpstan.neon.dist"
},
"scripts-descriptions": {
"create-release": "Create a release of PrestaShop, run the command with -h/--help argument for more information.",
Expand Down

0 comments on commit 4007fa7

Please sign in to comment.