Skip to content

Commit dcbd225

Browse files
committed
Add "config-templates", "metadata-templates" and "templates" to the list of directories where we look for PHP files to check their syntax.
1 parent a2564d4 commit dcbd225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/check-syntax.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
44
RETURN=0
55

66
# check PHP files
7-
for FILE in `find attributemap bin lib modules www -name "*.php"`; do
7+
for FILE in `find attributemap bin config-templates lib metadata-templates modules templates www -name "*.php"`; do
88
$PHP -l $FILE > /dev/null 2>&1
99
if [ $? -ne 0 ]; then
1010
echo "Syntax check failed for ${FILE}"

0 commit comments

Comments
 (0)