diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cibuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cibuild.sh b/scripts/cibuild.sh index 11e1fa2..beb1428 100755 --- a/scripts/cibuild.sh +++ b/scripts/cibuild.sh @@ -12,7 +12,7 @@ START=$(date +%s) echo "$(info) starting build checks." # Syntax check all php files -SYNTAX=$(find . -name "*.php" -type f -exec php --syntax-check {} \; > /dev/null) +SYNTAX=$(find . -name "*.php" -type f -exec php --syntax-check {} \; 2>&1 > /dev/null) if [[ ! -z ${SYNTAX} ]]; then echo -e "${SYNTAX}" echo -e "\n$(info) detected one or more syntax errors, failing build." |