3 if ! test -e "modules.php"; then
4 echo "$0: Please execute this script from root directory."
8 echo "$0: Analysing PHP scripts for syntax errors (lint) ..."
9 LINT=`find -type f -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"`
11 if test "${LINT}" != ""; then
14 echo "$0: No syntax errors found."