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.


Comments are closed.

Dennis C. at 14:30 on 8 Jun 2019

I loved the interactivity of this talk! The quiz element had me laughing and thinking. Also great tooling, we will definitely look into using this at work for certain migrations

Mike Lehan at 16:07 on 8 Jun 2019

Rector looks like a great tool and this talk did a good job of explaining it. The examples were good and made it easy to understand the project; it seemed like for a few you weren't actually certain of the result and that felt a little awkward. Talk abstract made sense but maybe mention the tool in advance - if I'd read up on it then I think I'd have got more out of the talk and maybe people would have better questions. Will be using this in my work for sure.

Interesting talk. I can see myself using Rec(onstruc)tor in the future.

Entertaining, interesting and very well delivered. I wish the abstract mentioned that this is all about Rector, but, on the other hand, keeping it in secret made a great surprise to me! To be honest, I hadn't heard about the tool before the talk and now I can't wait to try Rector on Monday!

Thomas Berends at 21:05 on 8 Jun 2019

This was an awesome talk. I'll certainly be using Rector soon. It was a great mix of information and interaction with the audience.

Arnout Boks at 23:16 on 8 Jun 2019

Great and inspiring content, presented in style. I did seem that at some point in your talk you discussed having done a migration with rector before actually explaining what rector is and does. You might want to add an introductory slide before that. Also the interactive 'quizzes' may work well for some people in the audience, but others might be confused because they think you're actually in doubt. They also slow down the pace a bit, while there are some many interesting aspects of rector to see. All in all, this was a great introduction. I will definitely start using rector for some batch transformations on source code.

Tom de Wit at 11:41 on 9 Jun 2019

Insightful talk into the workings of Rector. The demos were good but the audience participation caused some confusion on my end. Other than that I’ll be using the tool on my project sooner rather than later.

Bart V at 19:39 on 10 Jun 2019

Great atmosphere, nice jokes and interactive!

Nice talk with nice demo examples as well. Seems like Rector tool can be really useful in production.

Great talk! I definitely am going to check Rector out for our current legacy project.

Bas at 13:42 on 11 Jun 2019

Thanks for sharing this tool with us. It definitely will help me to get some of the legacy out.

Rob Smeets at 17:15 on 11 Jun 2019

Rector seems like a great tool.
Maybe turn it into a plug-in for PHP Storm? Nice czech-czech combi?

I found it a nice introduction to Rector, it was surprising that it was mostly about that tool. I missed some more examples about creating own rules.