File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ To let PHPStan analyse your codebase, you have use the `analyse` command and poi
100
100
101
101
So, for example if you have your classes in directories ` src ` and ` tests ` , you can run PHPStan like this:
102
102
103
- ```
103
+ ``` bash
104
104
vendor/bin/phpstan analyse src tests
105
105
```
106
106
@@ -131,7 +131,7 @@ You can also use `--level max` as an alias for the highest level. This will ensu
131
131
132
132
Config file is passed to the ` phpstan ` executable with ` -c ` option:
133
133
134
- ```
134
+ ``` bash
135
135
vendor/bin/phpstan analyse -l 4 -c phpstan.neon src tests
136
136
```
137
137
@@ -366,7 +366,7 @@ errorFormatter.awesome:
366
366
367
367
Use the name part after ` errorFormatter. ` as the CLI option value:
368
368
369
- ```
369
+ ``` bash
370
370
vendor/bin/phpstan analyse -c phpstan.neon -l 4 --errorFormat awesome src tests
371
371
```
372
372
@@ -583,8 +583,12 @@ Any contributions are welcome.
583
583
584
584
You can either run the whole build including linting and coding standards using
585
585
586
- ` vendor/bin/phing `
586
+ ``` bash
587
+ vendor/bin/phing
588
+ ```
587
589
588
590
or run only tests using
589
591
590
- ` vendor/bin/phing tests `
592
+ ``` bash
593
+ vendor/bin/phing tests
594
+ ```
You can’t perform that action at this time.
0 commit comments