Instant Upgrades with Rector

How you update from Symfony 3.0 to Symfony 4.0? 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?

Let’s see the future of automated instant upgrades in matter of seconds.

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.

  • Neos Conference 2019
  • 11.05.2019
  • 12:20
  • Studio Stage