X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=DOCS%2Ffinal-checker.sh;h=4f2f2fa7657bba83126e6b605cd654f88b193949;hb=4ccc02299e123d24c043c917fb16208d0338f300;hp=3d02a6ceb6d75b80ff8ba7e0448995bc509b74f1;hpb=155f46e7464ead4e1e6e5441b68846823658ff3e;p=mailer.git diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh index 3d02a6ceb6..4f2f2fa765 100644 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -15,10 +15,13 @@ echo " - DEPRECATED PHP..." DEPRECATED_PHP=`find -type f -name "*.php" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - DEPRECATED TPL..." DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep "@" --count` +echo " - global statements..." +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" | grep -v "/language/" | grep -v "EXT_" --count` echo "$0: Result..." echo "--------------------------------------" echo " - Open TODOs: ${TODOS}" echo " - Open DEPRECATED (PHP/TPL): ${DEPRECATED_PHP}/${DEPRECATED_TPL}" +echo " - Global statements: ${GLOBALS}" echo "--------------------------------------" echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)" echo