In the third quarter of 2024, I had the opportunity to work on implementing new TYPO3 Rector rules and enhancing Fractor.
New TYPO3 Rector Rules
I successfully migrated an additional rule for TYPO3 Backend Module registrations. This proved challenging because Nikita Popov's PHP Parser couldn't generate the new code as required. With help from Rector core developers and Nikita Popov himself, we managed to make it work with some custom modifications.
All Rector rules previously lost during migration to version 2 have been integrated into Fractor and are now fully operational.
Find the completed milestones here: Funding for Rector & Fractor Q3 Milestone.
Improving Fractor
This quarter, I also enhanced Fractor’s CLI output to display file paths with line numbers and track how many files were migrated. Additionally, Martin Helmich’s TypoScript Parser integration now prints TypoScript files according to custom configurations, such as tabs instead of spaces.
Beyond code improvements, I’ve revamped the documentation, making it easier to understand how to use Fractor in TYPO3 projects and configure its options.
A new rule generator was also developed, streamlining the process of creating new rules and providing unit test cases automatically.
See all closed Fractor issues here: TYPO3 Funding Q3 2024 Milestone.