projects
/
core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added flushCheckPointFile().
[core.git]
/
contrib
/
lint.sh
1
#!/bin/sh
2
3
echo "$0: Analysing PHP scripts for syntax errors (lint) ..."
4
LINT=`find -type f -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"`
5
6
if test "${LINT}" != ""; then
7
echo "${LINT}"
8
else
9
echo "$0: No syntax errors found."
10
fi