PHP Tek 2025 PHP Tek 2025 Login
Advanced Rector Shenanigans
Speaker: Chris Abbey
Advanced Rector Shenanigans

Level: Advanced
Length: Standard (50 minutes)

Description:
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.

Thanks to our PHP Tek 2025 sponsors!
PHP Architect
(Platinum)
Prompt
(Platinum)
WPConcierge
(Gold)
Roave
(Silver)
typesense
(Silver)
Geocod.io
(Silver)
Vehikl
(Bronze)
Laravel
(Bronze)
OSMI
(Bronze)
Clayton Kendall LLC
(Bronze)
NativePHP
(Bronze)