File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,11 +43,15 @@ as the existing code and ensures that the codebase will be as readable as possib
4343
4444You can fix most of the coding style violations by running this command in your terminal:
4545
46- composer cs-fix
46+ ```
47+ > composer cs-fix
48+ ```
4749
4850You can check the coding style violations:
4951
50- composer cs
52+ ```
53+ > composer cs
54+ ```
5155
5256### Unit Testing
5357
@@ -194,15 +198,21 @@ so that you can fix whatever errors that pop up with your submission.
194198
195199PHPStan is expected to scan the entire framework by running this command in your terminal:
196200
197- vendor/bin/phpstan analyse
201+ ```
202+ > vendor/bin/phpstan analyse
203+ ```
198204
199205Rector, on the other hand, can be run on the specific files you modified or added:
200206
201- vendor/bin/rector process --dry-run path/to/file
207+ ```
208+ > vendor/bin/rector process --dry-run path/to/file
209+ ```
202210
203211If you run it without ` --dry-run ` , Rector will fix the code:
204212
205- vendor/bin/rector process path/to/file
213+ ```
214+ > vendor/bin/rector process path/to/file
215+ ```
206216
207217[ 1 ] : https://github.com/phpstan/phpstan-src
208218[ 2 ] : https://github.com/rector/rector
You can’t perform that action at this time.
0 commit comments