- See full diff: 0.10.0...0.11.0
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 🎉
- rectorphp/rector-src#22 Added support for glob patterns for files - thanks @sabbelasichon
- #5784 (merged as rectorphp/rector-src#12) Added e2e test with intuitive design - thanks @mpdude
- #6272 Add file formatting based on
.editorconfig
- thanks @sabbelasichon - #6360 Nette to Symfony migration is decoupled to own package - https://github.com/rectorphp/rector-nette-to-symfony
- rectorphp/rector-src@2fa60fc Add
dump_node()
function for easier Rector developing - #6283 Add
never
upgrade to PHP 8.1 - see https://wiki.php.net/rfc/noreturn_type [PHP 8.1] - #6328 Add
CallUserFuncToMethodCallRector
to removecall_user_func()
magic [CodingStyle] - #6318 Add
FuncGetArgsToVariadicParamRector
to removefunc_get_args()
magic [CodingStyle] - #6316 Add variadic method call unpack to
CallUserFuncCallToVariadicRector
[CodingStyle]