2 ms·
Like everything... It depends. Just use rector https://github.com/rectorphp/rector https://github.com/rectorphp/rector
by hparadiz 2y ago
Like everything... It depends.
Just use rector
https://github.com/rectorphp/rector https://github.com/rectorphp/rector
- that_guy_iain 2y agoI've previously used that to do something. Fell flat on its face. But the fact they literally had to create a tool to solve this problem confirms my point.
- hparadiz 2y agoI use it all the time and it works great. You need to know what you're doing.
- that_guy_iain 2y agoSo again, you seem to be confirming my point that it’s not fool proof.
- kgeist 2y agoOur best engineer spent 2 weeks full time updating our codebase from 7 to 8 using rector (the project was already running PHP 7 but still had a lot of deprecated code from the PHP 5 era which didn't work on PHP 8). That would be eternity without Rector.