Skip to content

Commit

Permalink
Dev: Also check syntax in tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 24, 2021
1 parent 0c8b337 commit d1154d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -47,6 +47,7 @@
"scripts": {
"test": [
"! find application/ -type f -name '*.php' -print0 | xargs -I {} -0 -P 0 php -l {} | grep -v 'No syntax error'",
"! find tests/ -type f -name '*.php' -print0 | xargs -I {} -0 -P 0 php -l {} | grep -v 'No syntax error'",
"./third_party/bin/phpcs --standard=tests/rulesets/phpcs_ruleset.xml application/models/services",
"./third_party/bin/phpmd application/models/services/ text tests/rulesets/phpmd_ruleset.xml",
"./third_party/bin/psalm application/models/services/"
Expand Down

0 comments on commit d1154d2

Please sign in to comment.