Linting is also done via github workflows already
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
862952c30e
commit
df915c375b
|
|
@ -57,9 +57,6 @@ install:
|
|||
- . ${BUILD_APP_MODULE_DIR}/tests/scripts/core-setup.sh
|
||||
|
||||
script:
|
||||
# Check PHP syntax errors
|
||||
- . ${BUILD_APP_MODULE_DIR}/tests/scripts/lint-php.sh
|
||||
|
||||
# Run app code checker but do not fail, as we have to use private API for now
|
||||
- . ${BUILD_APP_MODULE_DIR}/tests/scripts/app-check-code.sh || true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "travis_fold:start:lint.php"
|
||||
|
||||
set -e
|
||||
|
||||
cd ${BUILD_APP_MODULE_DIR}
|
||||
|
||||
find . -name '*.php' -type f -not -path './vendor/*' -print0 | xargs --no-run-if-empty -0 -n1 -P8 php -l -d display_errors -d display_startup_errors 1>/dev/null
|
||||
|
||||
echo "travis_fold:end:lint.php"
|
||||
Loading…
Reference in New Issue