From 8b8fb69aaf9b7f3b27f61f82fcf3e4973688376a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 28 Oct 2019 21:09:41 +0100 Subject: [PATCH] comment phan because of old version --- Hooks/tests.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Hooks/tests.sh b/Hooks/tests.sh index ddb2451..98b4826 100755 --- a/Hooks/tests.sh +++ b/Hooks/tests.sh @@ -1,15 +1,15 @@ #!/bin/bash isPhanTestSuccessful() { - export PHAN_DISABLE_XDEBUG_WARN="1" - php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php --minimum-severity=0 --color -f "$1" >&2 - if [ $? -ne 0 ]; then +# export PHAN_DISABLE_XDEBUG_WARN="1" +# php -d memory_limit=4G ${rootpath}/vendor/bin/phan -k ${rootpath}/Build/Config/phan.php #--minimum-severity=0 --color -f "$1" >&2 +# if [ $? -ne 0 ]; then echo 0 return 0 - fi - - echo 1 - return 1 +# fi +# +# echo 1 +# return 1 } isPhpStanTestSuccessful() {