79287444

Date: 2024-12-17 10:16:00
Score: 1
Natty:
Report link

You just need to create an json report, store it in a Gitlab artifact and mark it as a code quality one:

phpstan:
  image: my_image_with_phpstan:8
  script:
    - phpstan analyse src/ --error-format gitlab --no-progress > phpstan.json
  artifacts:
    when: always
    reports:
      codequality: phpstan.json

Source: https://www.howtogeek.com/devops/how-to-create-a-gitlab-ci-pipeline-to-statically-analyse-php-projects/

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Teenage