-
-
Notifications
You must be signed in to change notification settings - Fork 728
added information for install on older PHP version #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
README.md
Outdated
@@ -21,6 +21,21 @@ At the moment these packages are supported: | |||
composer require rector/rector --dev | |||
``` | |||
|
|||
# Install on PHP < 7.1 | |||
|
|||
You must have separated environment with PHP 7.1 (for example in Docker container). When you have it then run next command. The reason for this difficulty setup is your dependencies are only PHP <7.1 compatible and you cannot add 7.1.x package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- run next => run following
- "The reason for this difficulty setup is your dependencies are only PHP <7.1 compatible and you cannot add 7.1.x package."
- I think this information is already included in the title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
README.md
Outdated
You must have separated environment with PHP 7.1 (for example in Docker container). When you have it then run next command. The reason for this difficulty setup is your dependencies are only PHP <7.1 compatible and you cannot add 7.1.x package. | ||
|
||
``` | ||
composer create-project rector/rector your-path-to-rector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this!
README.md
Outdated
|
||
``` | ||
your-path-to-rector/bin/rector reconstruct src --level=nette24 | ||
your-path-to-rector/bin/rector reconstruct src --level=symfony40 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case maybe more common use case will be:
your-path-to-rector/bin/rector reconstruct /var/www/old-project --level=nette24
your-path-to-rector/bin/rector reconstruct /var/www/another-old-project --level=symfony40
In words: reconstruct more code projects that are not co-located with Rector directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Thank you, merged 👍 |
Hi,
I am trying how add this tool to project with older PHP. Here is described setup. What do you think about it?