Keynote in English - UK at PHPSW: Playing Developer and Refactoring, October 2019
View Slides: https://slides.com/tomasvotruba/rector-talk-phpsw-2019-10
View Video: https://www.facebook.com/pehapkari/videos/762203974226992/
Checkout the code: https://github.com/rectorphp/demo
Short URL: https://joind.in/talk/b60cb
(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 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
Comments are closed.
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
Great talk, well thought out and nicely presented. Really sparked my interest with this tool and definitely want to learn more.
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.
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.