An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Rector Prefixer

[![Build Status](https://img.shields.io/travis/rectorphp/prefixer/master.svg?style=flat-square)](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
```