Skip to content

Commit

Permalink
re-order composer commands correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-rolland committed Sep 12, 2024
1 parent 28cca1b commit 9e32f9f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@
"@php -d date.timezone=UTC -d memory_limit=-1 ./vendor/phpunit/phpunit/phpunit -c tests/Integration/phpunit.xml",
"@php -d date.timezone=UTC ./vendor/phpunit/phpunit/phpunit -c tests/Integration/phpunit-isolated.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",
"phpstan:generate-baseline": "@php ./vendor/bin/phpstan analyze -c phpstan.neon.dist",
"restore-test-db": [
"@php ./tests/bin/restore-test-db.php"
],
Expand All @@ -244,20 +248,17 @@
],
"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.",
"create-test-db": "Create a Database for testing purposes",
"create-test-table-dumps": "Create a dump of each table in the Database for testing purposes",
"restore-test-db": "Restore the whole DB in a single dump",
"restore-test-tables": "Restore all tables one by one, only when they have been modified",
"test-all": "Launch all PHPUnit test suites",
"php-cs-fixer": "Launch php cs fixer, fixes will be applied automatically",
"php-cs-fixer:dry": "Launch php cs fixer in dry mode: fixes will not be applied automatically",
"phpstan": "Launch a phpstan analyzis"
"phpstan": "Launch a phpstan analyzis",
"restore-test-db": "Restore the whole DB in a single dump",
"restore-test-tables": "Restore all tables one by one, only when they have been modified",
"test-all": "Launch all PHPUnit test suites"
}
}

0 comments on commit 9e32f9f

Please sign in to comment.