Talk in English - US at PHP TEK 2025
Track Name:
Roave Stadium
View Slides: https://cabbey.github.io/slides/advanced-rector-shenanigans.html
Short URL: https://joind.in/talk/eddb3
(QR-Code (opens in new window))
In this session we will explore the development of a custom Rector rule for migrating hundreds of classes off of a legacy framework and onto a set of more modern compositional traits. Using traits we will upend the class inheritance tree, and put guardrails in to contain the chaos. A basic understanding of Rector would help you get the most out of this, but is probably not required, @see Intro to Automated Refactoring with RectorPHP for that.
Comments
Please login to leave a comment
The final chapter of "RectorTek 2025"! Chris gave a great talk that wrapped up all the good Rector content shared. Appreciated the breadth of the example shared which exhibited many aspects to consider. Elaborated more on context/scope and static analysis reflection vs runtime reflection.
Wow, just wow. This was a great session. The examples were incredibly clear and I learned a great deal.
Everything was easy to read along and follow, and I cannot wait to leverage Rector even more than we are currently. It was well paced and thorough.
Good talk