[docs] update install commands

This commit is contained in:
TomasVotruba 2017-12-10 03:14:41 +01:00
parent a9d5d23b6f
commit 65f44d4969
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Rector **upgrades your application** for you, with focus on open-source projects
## Install
```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).

View File

@ -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:
```
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: