Skip to content

Commit

Permalink
Add Readme about reporter (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Dec 3, 2023
1 parent 9a4960d commit 8161b14
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Twig CS Fixer
_# Twig CS Fixer

[![PHP Version](http://poser.pugx.org/vincentlanglet/twig-cs-fixer/require/php)](https://packagist.org/packages/vincentlanglet/twig-cs-fixer)
[![Latest Stable Version](http://poser.pugx.org/vincentlanglet/twig-cs-fixer/v)](https://packagist.org/packages/vincentlanglet/twig-cs-fixer)
Expand Down Expand Up @@ -157,3 +157,14 @@ $config->addTokenParser(new App\Twig\CustomTokenParser());

return $config;
```

### Reporter

The `--report` option allows to choose the output format for the linter report.

Supported formats are:
- `text` selected by default.
- `checkstyle` following the common checkstyle XML schema.
- `github` if you want annotation on GitHub actions.
- `junit` followings JUnit schema XML from Jenkins.
- `null` if you don't want any reporting.

0 comments on commit 8161b14

Please sign in to comment.