Skip to content

Commit b4f5556

Browse files
authored
Describe psalm native alternative
1 parent a54b0fd commit b4f5556

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff 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
3636
phpstan 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
4141
psalm --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
4651
php-cs-fixer --format=checkstyle | vendor/bin/cs2pr
4752
```

0 commit comments

Comments
 (0)