Skip to content

Commit

Permalink
[TASK] Run scripts with Composer's PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft committed Aug 13, 2022
1 parent 311267b commit 765c281
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@
"@ci:composer:require-checker"
],
"ci:composer:normalize": "@composer normalize --dry-run",
"ci:composer:require-checker": "composer-require-checker",
"ci:composer:require-checker": "@php composer-require-checker",
"ci:composer:validate": "@composer validate",
"ci:php": [
"@ci:php:lint",
"@ci:php:cs",
"@ci:php:stan",
"@ci:php:unit"
],
"ci:php:cs": "php-cs-fixer fix -v --dry-run --using-cache no --diff",
"ci:php:lint": "phplint --no-progress",
"ci:php:stan": "phpstan analyse --no-progress",
"ci:php:unit": "phpunit",
"ci:php:cs": "@php php-cs-fixer fix -v --dry-run --using-cache no --diff",
"ci:php:lint": "@php phplint --no-progress",
"ci:php:stan": "@php phpstan analyse --no-progress",
"ci:php:unit": "@php phpunit",
"fix": [
"@fix:composer",
"@fix:php"
Expand All @@ -104,6 +104,6 @@
"fix:php": [
"@fix:php:cs"
],
"fix:php:cs": "php-cs-fixer fix"
"fix:php:cs": "@php php-cs-fixer fix"
}
}

0 comments on commit 765c281

Please sign in to comment.