diff --git a/.gitignore b/.gitignore index b0451a8..9bdf82a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .env installed -unit_test_results.xml vendor diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index ee372df..abb415e 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -17,8 +17,10 @@ pipelines: name: Static Code Analysis caches: - composer + artifacts: + - static_code_analysis_results.json script: - apt-get update && apt-get install -y unzip - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - composer install - - vendor/bin/phpstan analyse -c phpstan.neon + - vendor/bin/phpstan analyse -c phpstan.neon --error-format=prettyJson > static_code_analysis_results.json