Rector is a reconstructor tool - it does instant upgrades and instant refactoring of your code. Why refactor manually if Rector can handle 80% of the task for you?
What Can Rector Do for You?
- Upgrade 30000 unit tests from PHPUnit 6 to 9 in 2 weeks
- Complete
@var annotations or parameter/return type declarations- Complete PHP 7.4 property type declarations
- Upgrade your code from PHP 5.3 to 8.0
- Migrate your project from Nette to Symfony
- Refactor Laravel facades to dependency injection
- And much more...
https://github.com/rectorphp/rector