repo.or.cz
/
phpmyadmin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translated using Weblate (Afrikaans)
[phpmyadmin.git]
/
test
/
ci-phplint
blob
1e5e4959fbed4f9554e01a548ea61c15ae8b5a2d
1
#!/bin/sh
2
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
8
9
for
FILE
in
$FILES
;
do
10
if
[
-f
$FILE
] ;
then
11
php
-l
$FILE
12
fi
13
done