From 294f12bb04d301b9c6c83638d002b3a98e820280 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Fri, 17 May 2019 14:30:00 +0200
Subject: [PATCH] Also syntax-check the tests

---
 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 0be70baff..c633bdefd 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 config-templates lib metadata-templates modules templates www -name "*.php"`; do
+for FILE in `find attributemap bin config-templates lib metadata-templates modules templates tests www -name "*.php"`; do
     $PHP -l $FILE > /dev/null 2>&1
     if [ $? -ne 0 ]; then
         echo "Syntax check failed for ${FILE}"
-- 
GitLab