Rector
A PHP refactoring tool that performs automated code transformations using AST manipulation.
How it works
A PHP refactoring tool that performs automated code transformations using AST manipulation.
In WordPress
Rector can automate PHP version upgrades (each() to foreach, typed properties) — planned for future WP HealthKit autofix.
Related terms
WP HealthKit checks for Rector-related vulnerabilities automatically
Run a Free Audit