X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Flint.sh;h=b3de570576e026b8d19b94a6b4dcd7d3ab52dcd6;hb=d70b3c3eddeaf35fd18e94211bd992cc9f87b06f;hp=1e333eee6adac48f6618ceb1b796b4011216b251;hpb=dc25bd7a76750f02e2d617c9db9eb0aae53270f5;p=mailer.git diff --git a/DOCS/lint.sh b/DOCS/lint.sh index 1e333eee6a..b3de570576 100755 --- a/DOCS/lint.sh +++ b/DOCS/lint.sh @@ -1,15 +1 @@ -#!/bin/sh - -if ! test -e "modules.php"; then - echo "$0: Please execute this script from root directory." - exit 1 -fi - -echo "$0: Analysing PHP scripts for syntax errors (lint) ..." -LINT=`find -type f -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"` - -if test "${LINT}" != ""; then - echo "${LINT}" -else - echo "$0: No syntax errors found." -fi +#@DEPRECATED