kenjis 2022-06-12 06:47:33 +09:00
parent 850d59a631
commit 0015abd96f
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -43,13 +43,13 @@ as the existing code and ensures that the codebase will be as readable as possib
You can fix most of the coding style violations by running this command in your terminal:
```
```console
> composer cs-fix
```
You can check the coding style violations:
```
```console
> composer cs
```
@ -198,19 +198,19 @@ so that you can fix whatever errors that pop up with your submission.
PHPStan is expected to scan the entire framework by running this command in your terminal:
```
```console
> vendor/bin/phpstan analyse
```
Rector, on the other hand, can be run on the specific files you modified or added:
```
```console
> vendor/bin/rector process --dry-run path/to/file
```
If you run it without `--dry-run`, Rector will fix the code:
```
```console
> vendor/bin/rector process path/to/file
```