Skip to content

Commit

Permalink
Improve PHP Insights command in GH actions
Browse files Browse the repository at this point in the history
The action should now return an error if the analysis done by PHP Insights fails
  • Loading branch information
SebKay committed Dec 2, 2021
1 parent bad6b3f commit 82d84aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build": "git clean -xffd -e *.env && composer install",
"lint": "./vendor/bin/phpcs --standard=PSR12 ./src",
"fix": "./vendor/bin/phpcbf --standard=PSR12 ./src",
"analyse": "./vendor/bin/phpinsights analyse src -v",
"analyse": "./vendor/bin/phpinsights --no-interaction --min-quality=90 --min-complexity=80 --min-architecture=90 --min-style=90 -v",
"test": "./vendor/bin/pest",
"test:coverage": "@test --coverage-html coverage",
"test:coverage:check": "@test --coverage --min=90"
Expand Down

0 comments on commit 82d84aa

Please sign in to comment.