Skip to content

Commit

Permalink
Use Composer's PHP process for running the tool PHARs
Browse files Browse the repository at this point in the history
This allows running the PHARs without the `.phar` suffix even
on Windows.
  • Loading branch information
oliverklee committed Apr 9, 2021
1 parent 37f5e37 commit 211a38f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@
"@ci:static",
"@ci:dynamic"
],
"ci:composer:normalize": "\"./tools/composer-normalize\" --dry-run",
"ci:composer:normalize": "@php \"./tools/composer-normalize\" --dry-run",
"ci:dynamic": [
"@ci:tests"
],
"ci:php:fixer": "\"./tools/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots --diff-format=udiff config/ src/ tests/",
"ci:php:lint": "\"vendor/bin/parallel-lint\" config src tests",
"ci:php:md": "\"./tools/phpmd\" src text config/phpmd.xml",
"ci:php:psalm": "\"./tools/psalm\" --show-info=false",
"ci:php:sniff": "\"./tools/phpcs\" config src tests",
"ci:php:fixer": "@php \"./tools/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots --diff-format=udiff config/ src/ tests/",
"ci:php:lint": "\"./vendor/bin/parallel-lint\" config src tests",
"ci:php:md": "@php \"./tools/phpmd\" src text config/phpmd.xml",
"ci:php:psalm": "@php \"./tools/psalm\" --show-info=false",
"ci:php:sniff": "@php \"./tools/phpcs\" config src tests",
"ci:static": [
"@ci:composer:normalize",
"@ci:php:lint",
Expand All @@ -89,12 +89,12 @@
"ci:tests": [
"@ci:tests:unit"
],
"ci:tests:sof": "\"./tools/phpunit.phar\" --stop-on-failure",
"ci:tests:unit": "\"./tools/phpunit.phar\"",
"composer:normalize": "\"./tools/composer-normalize\"",
"phive:update:phpunit": "echo y | \"./tools/phive\" --no-progress update phpunit",
"php:fix": "\"./tools/php-cs-fixer\" --config=config/php-cs-fixer.php fix config/ src/ tests/",
"php:version": "php -v | grep -Po 'PHP\\s++\\K(?:\\d++\\.)*+\\d++(?:-\\w++)?+'"
"ci:tests:sof": "@php \"./tools/phpunit.phar\" --stop-on-failure",
"ci:tests:unit": "@php \"./tools/phpunit.phar\"",
"composer:normalize": "@php \"./tools/composer-normalize\"",
"phive:update:phpunit": "echo y | php \"./tools/phive\" --no-progress update phpunit",
"php:fix": "@php \"./tools/php-cs-fixer\" --config=config/php-cs-fixer.php fix config/ src/ tests/",
"php:version": "@php -v | grep -Po 'PHP\\s++\\K(?:\\d++\\.)*+\\d++(?:-\\w++)?+'"
},
"support": {
"issues": "https://github.com/MyIntervals/emogrifier/issues",
Expand Down

0 comments on commit 211a38f

Please sign in to comment.