-
-
Notifications
You must be signed in to change notification settings - Fork 735
Closed
Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | v0.14.7 |
Initializing Rector config with a given config file path doesn't seem to work.
In my case, running
vendor/bin/rector init --config=config/packages/dev/rector.php
gives me an error when the file doesn't exist. If I create an empty file in the desired location and run the init command again, the given file path gets ignored and rector.php is being created in the default location (project root)
Minimal PHP Code Causing Issue
vendor/bin/rector init --config=config/packages/dev/rector.php
Expected Behaviour
According to vendor/bin/rector init --help I should be able to provide an alternative config file location.