Translated using Weblate (Afrikaans)
[phpmyadmin.git] / test / ci-phplint
blob1e5e4959fbed4f9554e01a548ea61c15ae8b5a2d
1 #!/bin/sh
3 if [ -z "$TRAVIS_COMMIT_RANGE" ] ; then
4 FILES=`find . -name '*.php' -not -path './vendor/*'`
5 else
6 FILES=`git diff --name-only $TRAVIS_COMMIT_RANGE -- '*.php'`
7 fi
9 for FILE in $FILES ; do
10 if [ -f $FILE ] ; then
11 php -l $FILE
13 done