From c98ec7517dc4a49d637c519e4e6e11ad03bffd73 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 18 Aug 2018 13:21:36 +0200 Subject: [PATCH] Hide phpmd normal output --- Hooks/syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hooks/syntax.sh b/Hooks/syntax.sh index 1fc00f0..12b3f73 100644 --- a/Hooks/syntax.sh +++ b/Hooks/syntax.sh @@ -14,7 +14,7 @@ hasInvalidPhpSyntax() { fi # phpmd - $(php -d memory_limit=4G ${rootpath}/vendor/bin/phpmd "$1" text ${rootpath}/Build/Config/phpmd.xml --exclude *tests* --minimumpriority 1) + $(php -d memory_limit=4G ${rootpath}/vendor/bin/phpmd "$1" text ${rootpath}/Build/Config/phpmd.xml --exclude *tests* --minimumpriority 1 > /dev/null) if [[ $? != 0 ]]; then return 3 fi