This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gitlab-ci-code-quality-phpstan [2020/12/01 23:06] – admin | gitlab-ci-code-quality-phpstan [2020/12/02 14:34] (current) – admin | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| - test | - test | ||
| - | code_quality: | + | php_stan: |
| image: composer | image: composer | ||
| stage: test | stage: test | ||
| script: | script: | ||
| - composer install --no-ansi | - composer install --no-ansi | ||
| - | # Set output to ' | + | # Set output to ' |
| - | - ./ | + | - ./ |
| artifacts: | artifacts: | ||
| reports: | reports: | ||
| # Tell Gitlab about the custom generated reports JSON file | # Tell Gitlab about the custom generated reports JSON file | ||
| - | codequality: | + | codequality: |
| - | paths: [gl-code-quality-report.json] | + | # Optional |
| + | paths: [gl-phpstan-report.json] | ||
| </ | </ | ||
| Line 40: | Line 40: | ||
| ^ ./ | ^ ./ | ||
| - | | Run analyzer | + | | Run analyzer |