blob: 41feb97e09da7d934d6e30d10be963c821c00e49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
bad=$(./admin/findphp | xargs egrep -n "TRUE|FALSE|NULL")
if [ ! -z "$bad" ]
then
cat <<EOF 1>&2
These files contain wrongly capitalized constants:
$bad
EOF
fi
|