Talk in English - UK at Dutch PHP Conference 2019
View Slides: https://slides.com/tomasvotruba/rector-amsterdam-2019
Short URL: https://joind.in/talk/843ae (QR-Code (opens in new window))
Before the composer, we downloaded packages manually, one by one. Now you run "composer update symfony/symfony 4.2" and you can jump from 3.0 to 4.2 in seconds.
But how do you fix BC breaks in your code? Manually, one change after another, file by file? That's a daunting and stereotype work.
In PHP there is AST (abstract syntax tree) tools, that can automate this upgrade. Write the rule once, apply it in 1000 classes in seconds.
I'll show you how working with legacy code can be fun again.