|
63 | 63 | },
|
64 | 64 | "scripts": {
|
65 | 65 | "post-install-cmd": [
|
66 |
| - "composer install --working-dir=tools/php-cs-fixer --no-progress --no-interaction", |
67 |
| - "composer install --working-dir=tools/phpstan --no-progress --no-interaction" |
| 66 | + "@composer install --working-dir=tools/php-cs-fixer --no-progress --no-interaction", |
| 67 | + "@composer install --working-dir=tools/phpstan --no-progress --no-interaction" |
68 | 68 | ],
|
69 | 69 | "post-update-cmd": [
|
70 |
| - "composer update --working-dir=tools/php-cs-fixer --no-progress --no-interaction", |
71 |
| - "composer update --working-dir=tools/phpstan --no-progress --no-interaction" |
| 70 | + "@composer update --working-dir=tools/php-cs-fixer --no-progress --no-interaction", |
| 71 | + "@composer update --working-dir=tools/phpstan --no-progress --no-interaction" |
72 | 72 | ],
|
73 | 73 | "all": [
|
74 | 74 | "@lint",
|
75 | 75 | "@analyze",
|
76 | 76 | "@test"
|
77 | 77 | ],
|
78 | 78 | "analyze": [
|
79 |
| - "tools/phpstan/vendor/bin/phpstan analyze -c phpstan.neon --ansi", |
80 |
| - "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --dry-run -vvv --ansi", |
81 |
| - "vendor/bin/phpcs --standard=PSR2 --ignore=*.js ./lib/ ./tests/" |
| 79 | + "@php tools/phpstan/vendor/bin/phpstan analyze -c phpstan.neon --ansi", |
| 80 | + "@php tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff --dry-run -vvv --ansi", |
| 81 | + "@php vendor/bin/phpcs --standard=PSR2 --ignore=*.js ./lib/ ./tests/" |
82 | 82 | ],
|
83 | 83 | "fix": [
|
84 | 84 | "@composer normalize",
|
85 |
| - "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff -vvv || exit 0", |
86 |
| - "vendor/bin/phpcbf --standard=PSR2 --ignore=*.js ./lib/ ./tests/" |
| 85 | + "@php tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff -vvv || exit 0", |
| 86 | + "@php vendor/bin/phpcbf --standard=PSR2 --ignore=*.js ./lib/ ./tests/" |
87 | 87 | ],
|
88 | 88 | "lint": [
|
89 |
| - "vendor/bin/parallel-lint -j 10 ./lib ./tests example.php", |
| 89 | + "@php vendor/bin/parallel-lint -j 10 ./lib ./tests example.php", |
90 | 90 | "@composer validate",
|
91 | 91 | "@composer normalize --dry-run"
|
92 | 92 | ],
|
93 | 93 | "test": [
|
94 |
| - "vendor/bin/phpunit --colors=always" |
| 94 | + "@php vendor/bin/phpunit --colors=always" |
95 | 95 | ]
|
96 | 96 | }
|
97 | 97 | }
|
0 commit comments