mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
exclude old / not used PEAR Autoloader giving PHP Fatal error: Method PEAR_Autoloader::__call() must take exactly 2 arguments
This commit is contained in:
parent
36d8253929
commit
8c1077a7b9
@ -9,7 +9,9 @@
|
||||
cd `dirname $0`
|
||||
cd ..
|
||||
|
||||
find ${@-.} -name '*.php' -exec php -l {} \; 2>&1 | \
|
||||
# exclude old / not used PEAR Autoloader giving PHP Fatal error: Method PEAR_Autoloader::__call() must take exactly 2 arguments
|
||||
|
||||
find ${@-.} -name '*.php' ! -path '*vendor/pear-pear.php.net/PEAR/PEAR/Autoloader.php' -exec php -l {} \; 2>&1 | \
|
||||
#grep -v 'No syntax errors detected in' | \
|
||||
grep '^PHP' | \
|
||||
perl -pe 'END { exit $status } $status=1 if /^PHP (Fatal|Parse error)/;'
|
||||
|
Loading…
Reference in New Issue
Block a user