sigwinhq / infra

Sigwin's default per-project infra
3 stars 0 forks source link

Error reporting for PHPStan / Psalm #33

Open dkarlovi opened 2 years ago

dkarlovi commented 2 years ago

Psalm: --report=path/to/report.junit.xml PHPStan: --error-format=junit

dkarlovi commented 2 years ago

Needs to detect if running on Github or Gitlab: https://docs.gitlab.com/ee/ci/testing/code_quality.html#code-quality-widget

dkarlovi commented 2 years ago

Use GITLAB_CI for Gitlab, GITHUB_ACTIONS for GitHub.