]> git.mxchange.org Git - mailer.git/blobdiff - DOCS/lint.sh
Project continued with rewrites:
[mailer.git] / DOCS / lint.sh
index 1e333eee6adac48f6618ceb1b796b4011216b251..b3de570576e026b8d19b94a6b4dcd7d3ab52dcd6 100755 (executable)
@@ -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