]> git.mxchange.org Git - core.git/commitdiff
Contrib:
authorRoland Häder <roland@mxchange.org>
Mon, 26 Oct 2020 04:45:38 +0000 (05:45 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 26 Oct 2020 04:45:38 +0000 (05:45 +0100)
- 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 <roland@mxchange.org>
contrib/missing-methods.sh [new file with mode: 0755]

diff --git a/contrib/missing-methods.sh b/contrib/missing-methods.sh
new file mode 100755 (executable)
index 0000000..a4105c7
--- /dev/null
@@ -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