Rector Prefixed Versions Save

[READ-ONLY] Prefixed version of Rector

0.10.4

3 years ago

0.10.0

3 years ago

Added Static Reflection ???

Do you have files with side effects or missing classes in autoload?

function hi()
{
    echo 'hello';
}

hi();

Static reflection finally refactors code without running it.


Prefixed Rector with min PHP 7.1 ?

Previous version required at least PHP 7.3 to run or Docker. Both were an obstacle to run Rector out of the box on every project.

We changed that. Now you can run Rector with older PHP and conflicting dependencies with ease:

php --version
# PHP 7.1

composer require symfony/console:^2.8

composer require rector/rector-prefixed:^0.10
  • Contribted in #5880

Other Changes

  • Inspired by PHPStan, you can run Rector without "process" command if you have configured paths in rector.php:
vendor/bin/rector
13/260 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░]   5%

Upgrade Today

composer require rector/rector:^0.10
# or prefixed version
composer require rector/rector-prefixed:^0.10