Skip to content

Commit 311295d

Browse files
Add support for 'gitlab' as an output format
Updated the README to include 'gitlab' as an available output format in addition to 'text' and 'json'. Clarified the use cases for the 'json' format and specified its compatibility with platforms like GitHub Actions and SonarQube.
1 parent 71009b5 commit 311295d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ phparkitect check --ignore-baseline-linenumbers
106106

107107
Output format can be controlled using the parameter `format=[FORMAT]`. There are two available output formats
108108
* `text`: the default one
109-
* `json`: this follows Gitlab's [code quality format](https://docs.gitlab.com/ci/testing/code_quality/#code-quality-report-format). Note that this will suppress any output apart from the violation reporting.
109+
* `json`: this format allows custom report using github action or another platform as Sonarqube and so on... Note that this will suppress any output apart from the violation reporting.
110+
* `gitlab`: this follows Gitlab's [code quality format](https://docs.gitlab.com/ci/testing/code_quality/#code-quality-report-format). Note that this will suppress any output apart from the violation reporting.
110111

111112
## Configuration
112113

0 commit comments

Comments
 (0)