From b04b5030408ab212564ebffea4ce256cf3f51b19 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 12 Feb 2020 19:48:15 +0100 Subject: [PATCH] improve order for faster response --- Helper/testreport.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Helper/testreport.sh b/Helper/testreport.sh index ea105a7..3505f39 100644 --- a/Helper/testreport.sh +++ b/Helper/testreport.sh @@ -1,10 +1,10 @@ #!/bin/bash -php phpcs.phar ./ --standard="Build/Config/phpcs.xml" -s --report-junit=Build/test/junit_phpcs.xml php phpcs.phar ./ --standard="Build/Config/phpcs.xml" +php phpcs.phar ./ --standard="Build/Config/phpcs.xml" -s --report-junit=Build/test/junit_phpcs.xml -php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 7 -c Build/Config/phpstan.neon --error-format=prettyJson ./ > Build/test/phpstan.json php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 7 -c Build/Config/phpstan.neon ./ +php phpstan.phar analyse --autoload-file=phpOMS/Autoloader.php -l 7 -c Build/Config/phpstan.neon --error-format=prettyJson ./ > Build/test/phpstan.json # Remove empty lines and lines with warnings which corrupt the json format sed -i '/^$/d' Build/test/phpstan.json