10 lines
149 B
Bash
Executable File
10 lines
149 B
Bash
Executable File
#!/bin/sh
|
|
|
|
FILES=`find . -name '*.php' -not -path './vendor/*'`
|
|
|
|
for FILE in $FILES ; do
|
|
if [ -f $FILE ] ; then
|
|
php -l $FILE
|
|
fi
|
|
done
|