diff --git a/bin/check-syntax.sh b/bin/check-syntax.sh index 0af1a43cecd2ebd419743dc483427001126f500d..0be70baff93b61899035a3e8fb9b69df0c3c97d3 100755 --- a/bin/check-syntax.sh +++ b/bin/check-syntax.sh @@ -4,7 +4,7 @@ PHP='/usr/bin/env php' RETURN=0 # check PHP files -for FILE in `find attributemap bin lib modules www -name "*.php"`; do +for FILE in `find attributemap bin config-templates lib metadata-templates modules templates www -name "*.php"`; do $PHP -l $FILE > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "Syntax check failed for ${FILE}"