https://github.com/deprecated-packages/compiler
Tool to build prefixed Rector to resolve install conflicts
https://github.com/deprecated-packages/compiler
builder instant-upgrades phar php prefixer rector shim
Last synced: 12 months ago
JSON representation
Tool to build prefixed Rector to resolve install conflicts
- Host: GitHub
- URL: https://github.com/deprecated-packages/compiler
- Owner: deprecated-packages
- Created: 2018-10-25T13:26:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-24T17:39:35.000Z (almost 7 years ago)
- Last Synced: 2025-04-05T15:46:01.227Z (about 1 year ago)
- Topics: builder, instant-upgrades, phar, php, prefixer, rector, shim
- Language: PHP
- Homepage:
- Size: 5.27 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rector Prefixer
[](https://travis-ci.org/rectorphp/prefixer)
This tool builds prefixed Rector.
### When do you need Prefixed Rector?
- When you run `composer require rector/rector` and fail on PHP code API conflicts - e.g. you use Symfony 2.8, but Rector requires 3.4.
- If you need PHP 7.0 and bellow, use [Rector in the Docker](https://github.com/rectorphp/rector#run-rector-in-docker).
## Compile Prefixed `rector.phar`
```
composer install
bin/console compile
# prefixing and compiling to rector.phar, might take 2-3 mins
# final file
tmp/rector.phar
```