mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-19 15:45:43 +01:00
README: add fnmatch argument feature
This commit is contained in:
parent
984644f18e
commit
2bda8a12a5
@ -107,7 +107,13 @@ Do you need to upgrade to **Symfony 4.0**, for example?
|
|||||||
vendor/bin/rector process src --level symfony33 --dry-run
|
vendor/bin/rector process src --level symfony33 --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
3. What levels are on the board?
|
3. To process just specific subdirectories, you can use [fnmatch](http://php.net/manual/en/function.fnmatch.php) pattern with `*`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vendor/bin/rector process "src/Symfony/Component/*/Tests" --level phpunit60 --dry-run
|
||||||
|
```
|
||||||
|
|
||||||
|
4. What levels are on the board?
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
vendor/bin/rector levels
|
vendor/bin/rector levels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user