Re: Checking code for PHP 8.1.6 compatibility before upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/30/22 10:06, Ian Evans wrote:
Long story short, due to some health issues in the past few years, I am WAY
behind in upgrading my server and PHP. Still running php 5.5.9!

Is there a script that can "lint" my code and tell me what is completely
broken if I move to 8.1 and what can wait for a weekend and a pot of
coffee? And if so, can that script be run on a 5.5.9 system or do I need to
spin up a cheap VPS with 8.1 and run it against the code there?

Thanks for any advice.


Check out Rector. It was made for your use case. https://getrector.org

I've never used it myself, but the maintainers are active and approachable, and I'm sure they can help with any issues you face.

Best of luck!

--
Cheers,
Ben



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux