From dcbd22581b26eefba9c2c14de1ccbedb4be4644d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no>
Date: Thu, 13 Oct 2016 10:32:44 +0200
Subject: [PATCH] Add "config-templates", "metadata-templates" and "templates"
 to the list of directories where we look for PHP files to check their syntax.

---
 bin/check-syntax.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/check-syntax.sh b/bin/check-syntax.sh
index 0af1a43ce..0be70baff 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}"
-- 
GitLab