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 dull work.

In PHP there are 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.


Comments are closed.

James O'Neill at 20:08 on 9 Oct 2019

Crowd refactoring exercises were fun.
I’d never seen beyond the first panel of “This is Fine” before.

Great talk, and really fun to have so much live programming / demo in there. Thanks

Michael Bush at 20:46 on 9 Oct 2019

Great talk, well thought out and nicely presented. Really sparked my interest with this tool and definitely want to learn more.

Piers Hobson at 08:56 on 10 Oct 2019

Great talk, confident speaker, looked really happy to be giving the talk.

The audience interaction was awesome. Visuals and demos were nice and clear on screen.

Advice to speaker: your English is great but maybe slow down a bit as I missed the few words used.

Interesting project, will definitely be trying out.

Really good, thanks for coming.

Mark S at 09:32 on 10 Oct 2019

Yeah great talk, thank you so much for showing us this great tool!

The audience participation bit was a lot of fun. Loved the 'This is fun' slides. I think you could improve the talk by showing how to install / set up rector.