chg: [test] Lint all PHP and template files

pull/6339/head
Jakub Onderka 2020-09-23 18:17:32 +02:00
parent 5163c98111
commit 3757c2aa30
2 changed files with 3 additions and 1 deletions

View File

@ -146,6 +146,7 @@ before_script:
- popd
script:
- ./app/Vendor/bin/parallel-lint --exclude app/Lib/cakephp/ --exclude app/Vendor/ --exclude app/Lib/random_compat/ -e php,ctp app/
- ./app/Vendor/bin/phpunit app/Test/ComplexTypeToolTest.php
- pushd tests
- ./curl_tests.sh $AUTH

View File

@ -12,7 +12,8 @@
"monolog/monolog": "1.24.0"
},
"require-dev": {
"phpunit/phpunit": "^8"
"phpunit/phpunit": "^8",
"php-parallel-lint/php-parallel-lint": "^1.2"
},
"suggest": {
"elasticsearch/elasticsearch": "For logging to elasticsearch",