This is an old revision of the document!
stages: - test code_quality: image: composer stage: test script: - composer install --no-ansi # Set output to 'gitlab' using '--error-format=gitlab', 'exit 0' is required and the artifact gets uploaded - ./vendor/bin/phpstan analyse --error-format=gitlab --no-progress Classes/ > gl-code-quality-report.json || exit 0 artifacts: reports: codequality: gl-code-quality-report.json paths: [gl-code-quality-report.json]