Closed simonwheatley closed 9 years ago
The current linting does not appear to use a non-zero exit, which is needed to fail Travis tests.
Correct line:
if [[ "$WP_VERSION" == "latest" ]]; then if find . -not \( -path ./vendor -prune \) -not \( -path ./features -prune \) -name "*.php" -exec php -l {} \; | grep "^[Parse error|Fatal error]"; then exit 1; fi; fi;
Awaiting the results of a deliberate syntax error from this Travis build
The current linting does not appear to use a non-zero exit, which is needed to fail Travis tests.
Correct line: