File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,22 @@ vendor/bin/cs2pr /path/to/checkstyle-report.xml
3131
3232## Pipe the output of another commmand
3333
34- Using [ PHPStan] ( https://github.com/phpstan/phpstan )
34+ ### Using [ PHPStan] ( https://github.com/phpstan/phpstan )
3535``` bash
3636phpstan analyse --error-format=checkstyle | vendor/bin/cs2pr
3737```
3838
39- Using [ Psalm] ( https://github.com/vimeo/psalm )
39+ ### Using [ Psalm] ( https://github.com/vimeo/psalm )
4040``` bash
4141psalm --output-format=checkstyle | vendor/bin/cs2pr
4242```
4343
44- Using [ PHP Coding Standards Fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer )
44+ _ Psalm even supports the required format natively, therefore you might even use this instead:_
45+ ``` bash
46+ psalm --output-format=github
47+ ```
48+
49+ ### Using [ PHP Coding Standards Fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer )
4550``` bash
4651php-cs-fixer --format=checkstyle | vendor/bin/cs2pr
4752```
You can’t perform that action at this time.
0 commit comments