mirror of https://github.com/MISP/MISP
chg: [test] Lint all PHP and template files
parent
5163c98111
commit
3757c2aa30
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue