Skip to content

Released Rector 0.11 with Scoped and PHP 7.1 version by Default

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 13 May 17:00
· 6422 commits to main since this release

United Release of Prefixed & Downgraded Version 🚀🚀🚀

For a long time, Rector published 2 releases. It was often confusing which to use when and how they differ. Last couple of month we tried to make them as similar as possible to make transition as smooth as possible.

Since 0.11 we're moving from 2 repositories rectorphp/rector and rectorphp/rector-prefixed to just one rectorphp/rector.
This repository is downgraded to PHP 7.1 and scoped.

Read more in Prefixed Rector by Default.

How to Upgrade?

composer remove rector/rector-prefixed
composer require rector/rector --dev

or

composer update rector/rector:^0.11 --dev

New Features 🎉


Bugfixes 🐛

  • #6390 Fix downgrade scalar types casting in PHP 7.0
  • #6384, #6385, #6386 Fix anonymous class downgrade in PHP 7.0
  • #6378 Fix generic type on in Typed property for PHP 7.4 - thanks @samsonasik