diff --git a/doc/php_syntax_check.sh b/doc/php_syntax_check.sh index 5360a3e83f..fe7f47b0ad 100755 --- a/doc/php_syntax_check.sh +++ b/doc/php_syntax_check.sh @@ -27,4 +27,6 @@ find ${@-.} -name '*.php' -exec php -l {} \; 2>&1 | \ grep -v 'vendor/phpspec/prophecy' | \ # phpFreeChat does not work with PHP7 grep -v 'phpfreechat/phpfreechat/' | \ + # not used part of ADOdb give PHP Fatal error: Cannot unset $this + grep -v 'adodb-xmlschema' | \ perl -pe 'END { exit $status } $status=1 if /^(PHP Fatal|(PHP )?Parse error)/;' > /dev/null