Skip to content

Commit 6fb0901

Browse files
carusogabrielondrejmirtes
authored andcommitted
[README] Use bash code block type
1 parent 03d73a9 commit 6fb0901

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ To let PHPStan analyse your codebase, you have use the `analyse` command and poi
100100

101101
So, for example if you have your classes in directories `src` and `tests`, you can run PHPStan like this:
102102

103-
```
103+
```bash
104104
vendor/bin/phpstan analyse src tests
105105
```
106106

@@ -131,7 +131,7 @@ You can also use `--level max` as an alias for the highest level. This will ensu
131131

132132
Config file is passed to the `phpstan` executable with `-c` option:
133133

134-
```
134+
```bash
135135
vendor/bin/phpstan analyse -l 4 -c phpstan.neon src tests
136136
```
137137

@@ -366,7 +366,7 @@ errorFormatter.awesome:
366366

367367
Use the name part after `errorFormatter.` as the CLI option value:
368368

369-
```
369+
```bash
370370
vendor/bin/phpstan analyse -c phpstan.neon -l 4 --errorFormat awesome src tests
371371
```
372372

@@ -583,8 +583,12 @@ Any contributions are welcome.
583583

584584
You can either run the whole build including linting and coding standards using
585585

586-
`vendor/bin/phing`
586+
```bash
587+
vendor/bin/phing
588+
```
587589

588590
or run only tests using
589591

590-
`vendor/bin/phing tests`
592+
```bash
593+
vendor/bin/phing tests
594+
```

0 commit comments

Comments
 (0)