diff --git a/Helper/testreport.sh b/Helper/testreport.sh index 3505f39..7af92b4 100644 --- a/Helper/testreport.sh +++ b/Helper/testreport.sh @@ -1,9 +1,9 @@ #!/bin/bash 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 ./ + +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 # Remove empty lines and lines with warnings which corrupt the json format