Hacker News new | ask | show | jobs
by Mopolo 127 days ago
In PHP you can use Rector[1]

It's used a lot to migrate old codebases. The tool is using itself to downgrade[2] it so that it can run on older PHP versions to help upgrades.

[1] https://getrector.com

[2] https://github.com/rectorphp/rector-downgrade-php