Skip to content

Commit 8b53d09

Browse files
authored
[TASK] Run scripts with Composer's PHP version (#60)
1 parent cf6e46a commit 8b53d09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@
8080
"@ci:composer:require-checker"
8181
],
8282
"ci:composer:normalize": "@composer normalize --dry-run",
83-
"ci:composer:require-checker": "composer-require-checker",
83+
"ci:composer:require-checker": "@php composer-require-checker",
8484
"ci:composer:validate": "@composer validate",
8585
"ci:php": [
8686
"@ci:php:lint",
8787
"@ci:php:cs",
8888
"@ci:php:stan",
8989
"@ci:php:unit"
9090
],
91-
"ci:php:cs": "php-cs-fixer fix -v --dry-run --using-cache no --diff",
92-
"ci:php:lint": "phplint --no-progress",
93-
"ci:php:stan": "phpstan analyse --no-progress",
91+
"ci:php:cs": "@php php-cs-fixer fix -v --dry-run --using-cache no --diff",
92+
"ci:php:lint": "@php phplint --no-progress",
93+
"ci:php:stan": "@php phpstan analyse --no-progress",
9494
"ci:php:unit": "phpunit",
9595
"fix": [
9696
"@fix:composer",

0 commit comments

Comments
 (0)