Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Releases: deprecated-packages/rector-prefixed

0.10.4

09 Apr 16:50
Compare
Choose a tag to compare
Rector 0.10.4

Released Rector 0.10 with Static Reflection and PHP 7.1 version

24 Mar 00:38
Compare
Choose a tag to compare

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