Skip to content
Snippets Groups Projects
Unverified Commit 294f12bb authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Also syntax-check the tests

parent 411526cf
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ PHP='/usr/bin/env php' ...@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
RETURN=0 RETURN=0
# check PHP files # 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 $PHP -l $FILE > /dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Syntax check failed for ${FILE}" echo "Syntax check failed for ${FILE}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment