Skip to content

Commit c0b6d91

Browse files
committed
Use full report in the build log
1 parent 5e678f5 commit c0b6d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Then adjust your `.gitlab-ci.yml` to run PHP_CodeSniffer with the custom reporte
2020

2121
```yaml
2222
phpcs:
23-
script: vendor/bin/phpcs --report=emacs --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json
23+
script: vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json
2424
artifacts:
2525
reports:
2626
codequality: phpcs-quality-report.json
2727
```
2828
29-
The example above uses two reports, one to display in the build log (emacs) and one to generate the codequality artifact file in the Code Climate format.
29+
The example above uses two reports, one to display in the build log (full) and one to generate the codequality artifact file in the Code Climate format.
3030
3131
> **Note:** Gitlab currently does not support multiple codequality artifacts.
3232
> You will not be able to display the violations of multiple tools (e.g. PHP Code Sniffer & PHPStan) in the Code Quality report.

0 commit comments

Comments
 (0)