Skip to content

Commit

Permalink
revise lint script to run php and phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Oct 25, 2023
1 parent 318f7db commit c4b36ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"lint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"phplint": "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"lint": [
"@phplint",
"@cs"
],
"unit": "phpunit --colors=always tests",
"functional": [
"Composer\\Config::disableProcessTimeout",
Expand Down

0 comments on commit c4b36ba

Please sign in to comment.