How to upgrade legacy codebase to use PHP 8.0 features using Rector

2 · Amit Merchant · Nov. 1, 2020, 2:25 p.m.
The newest version of PHP, the PHP 8.0, is coming later this year (November 26, 2020) and it will come packed with many new features such as constructor property promotion, match expressions, nullsafe operator, attributes and a lot others. If you’re planning to upgrade your existing app to PHP 8.0, you’ve come to the right place where we’ll be looking at how you can automatically upgrade your codebase to use these shiny new features of PHP 8.0… the easy way. There is an open-source library calle...