From d11890ef9958122ebb63912ec574e907f586851d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 12 Sep 2018 21:32:32 +0200 Subject: [PATCH] Make test more verbose --- Hooks/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hooks/tests.sh b/Hooks/tests.sh index 34b3290..8285411 100644 --- a/Hooks/tests.sh +++ b/Hooks/tests.sh @@ -1,7 +1,7 @@ #!/bin/bash isPhanTestSuccessful() { - php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php -f "$1" + php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php -f "$1" >&2 if [ $? -ne 0 ]; then return 0 fi @@ -10,7 +10,7 @@ isPhanTestSuccessful() { } isPhpStanTestSuccessful() { - php -d memory_limit=4G ${rootpath}/vendor/bin/phpstan analyse --autoload-file=${rootpath}/phpOMS/Autoloader.php -l 7 -c ${rootpath}/Build/Config/phpstan.neon "$1" + php -d memory_limit=4G ${rootpath}/vendor/bin/phpstan analyse --autoload-file=${rootpath}/phpOMS/Autoloader.php -l 7 -c ${rootpath}/Build/Config/phpstan.neon "$1" >&2 if [ $? -ne 0 ]; then return 0 fi