File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,13 @@ vendor/bin/phpstan analyse -c phpstan.neon \
46
46
src tests
47
47
```
48
48
49
+ Or use it in your configuration file:
50
+
51
+ ``` neon
52
+ parameters:
53
+ errorFormat: awesome
54
+ ```
55
+
49
56
Special format for Continuous Integration (CI)
50
57
---------
51
58
Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ You can pass the following keywords to the `--error-format=X` CLI option of the
16
16
- ` gitlab ` : Creates format for use Code Quality widget on GitLab Merge Request.
17
17
- ` teamcity ` : Creates TeamCity compatible output.
18
18
19
+ The same options are available in configuration file:
20
+
21
+ ``` neon
22
+ parameters:
23
+ errorFormat: json
24
+ ```
25
+
19
26
You can also implement your own custom error formatter. [ Learn how »] ( /developing-extensions/error-formatters )
20
27
21
28
You can change the default error format in the configuration. [ Learn how »] ( /config-reference#errorformat )
You can’t perform that action at this time.
0 commit comments