From: Roland Häder Date: Mon, 26 Oct 2020 04:45:38 +0000 (+0100) Subject: Contrib: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6a7ed0407c3411090a697ba0831bb0d6f4bb616;p=core.git Contrib: - added missing-methods.sh which requires a debug.log file which you can generate this way: $ php index.php app=foo > debug.log 2>&1 Signed-off-by: Roland Häder --- diff --git a/contrib/missing-methods.sh b/contrib/missing-methods.sh new file mode 100755 index 00000000..a4105c7a --- /dev/null +++ b/contrib/missing-methods.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +DEBUG_FILE="./debug.log" + +if [ ! -f "${DEBUG_FILE}" ] +then + echo "$0: DEBUG_FILE='${DEBUG_FILE}' does not exist." + exit 255 +fi + +grep __call "${DEBUG_FILE}" |cut -d ":" -f 5-7|cut -d "[" -f 2|cut -d "]" -f 1