mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
Merge pull request #189 from rectorphp/bump
[docs] update install commands
This commit is contained in:
commit
fc0669139a
@ -22,7 +22,7 @@ Rector **upgrades your application** for you, with focus on open-source projects
|
|||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
composer require --dev rector/rector @dev nikic/php-parser 'dev-master as v4.0.0alpha1'
|
composer require --dev rector/rector @dev nikic/php-parser '4.0.x-dev'
|
||||||
```
|
```
|
||||||
|
|
||||||
Do you have old PHP or dependencies in conflict? Ok, [it is not problem](/docs/HowUseWithOldPhp.md).
|
Do you have old PHP or dependencies in conflict? Ok, [it is not problem](/docs/HowUseWithOldPhp.md).
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
You must have an isolated environment with PHP 7.1 (for example in a Docker container). When you have it then run following command:
|
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
|
composer create-project rector/rector:@dev path-to-rector
|
||||||
```
|
```
|
||||||
|
|
||||||
You will be able to run Rector like this:
|
You will be able to run Rector like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user