mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-05 09:03:31 +00:00
README: add cs note [closes #112]
This commit is contained in:
parent
2f541372d5
commit
d61dd83e99
20
README.md
20
README.md
|
@ -237,6 +237,26 @@ final class MyRector extends AbstractRector
|
|||
6. :+1:
|
||||
|
||||
|
||||
|
||||
### Coding Standards are Outsourced
|
||||
|
||||
|
||||
This package has no intention in formating your code, as it **coding standard tools handle this much better**.
|
||||
|
||||
We prefer [EasyCodingStandard](https://github.com/Symplify/EasyCodingStandard):
|
||||
|
||||
|
||||
```php
|
||||
# check
|
||||
vendor/bin/ecs check --config vendor/rector/rector/ecs-after-rector.neon
|
||||
# fix
|
||||
vendor/bin/ecs check --config vendor/rector/rector/ecs-after-rector.neon --fix
|
||||
```
|
||||
|
||||
but you can use any other with [this setup](/ecs-after-rector.neon).
|
||||
|
||||
|
||||
|
||||
### Advanced Operations
|
||||
|
||||
- [Service Name to Type Provider](/docs/ServiceNameToTypeProvider.md)
|
||||
|
|
Loading…
Reference in New Issue
Block a user