the first test is the shallowest

This commit is contained in:
Alex Grintsvayg 2016-10-12 12:05:20 -04:00
parent a337dd5e33
commit 04eb283bf2

7
check_syntax.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for FILE in $(find "$DIR" -name '*.php'); do
php7.0 -l $FILE
done