gnu-social/vendor/openid/php-openid/admin/nobadcase
Diogo Cordeiro 2a06261f75 [CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
2019-08-03 17:47:24 +01:00

15 lines
218 B
Bash

#!/usr/bin/env bash
bad=$(./admin/findphp | xargs egrep -n "^[^\'\"]*\b(TRUE|FALSE|NULL)\b")
if [ ! -z "$bad" ]
then
cat <<EOF 1>&2
These files contain wrongly capitalized constants:
$bad
EOF
exit 1
fi