2017-11-20 19:22:07 +01:00
|
|
|
### How to use on PHP < 7.1 or Incompatible Composer Dependencies
|
2017-11-14 09:16:31 +01:00
|
|
|
|
|
|
|
You must have an isolated environment with PHP 7.1 (for example in a Docker container). When you have it then run following command:
|
|
|
|
|
|
|
|
```
|
|
|
|
composer create-project rector/rector path-to-rector
|
|
|
|
```
|
|
|
|
|
2017-11-20 19:22:07 +01:00
|
|
|
You will be able to run Rector like this:
|
2017-11-14 09:16:31 +01:00
|
|
|
|
|
|
|
```
|
2017-11-20 19:22:07 +01:00
|
|
|
path-to-rector/bin/rector <arguments>
|
2017-11-14 09:16:31 +01:00
|
|
|
```
|
2017-11-20 19:22:07 +01:00
|
|
|
|
|
|
|
Now you can read more in [README](../README.md/#install).
|