Talk in English - US at phpday 2019
View Slides: https://www.slideshare.net/TomVotruba/instant-upgrades-with-rector-php-day-verona-italy-2019-05
Short URL: https://joind.in/talk/70fb4 (QR-Code (opens in new window))
Before composer we downloaded packages manually, one by one. Now we do it in composer update. That way you’ll update a dependency from Symfony 3.0 to Symfony 4.0. How do you fix BC breaks in your code? Manually, one change after another, file by file. In non-PHP world, lazy Google and Facebook folks automated such work with tools. What about PHP? With AST from nikic/php-parser this is now possible in PHP as well. I’ll show you how Rector can handle 80 % of boring upgrades for you. I can help with Symfony, Sylius, Twig, Nette, Doctrine and PHPUnit code.