PHP-IPAddress icon indicating copy to clipboard operation
PHP-IPAddress copied to clipboard

Support for php v 8.1

Open gormur opened this issue 3 years ago • 1 comments

Hi There is a few issues that prevents proper support for php v 8.1. I have made a fork with minimal changes, but I'd be happy to contribute here. I would then suggest a v 2.0.0 as backwards comparability will be broken. Just writing this issue to test if there is activity in the project.

gormur avatar Mar 14 '22 08:03 gormur

Hello! I don't check here often, I don't do any PHP these days! Wow PHP has changed a lot! A major version bump sounds like a good plan. I'd be happy to review a PR and help fix any gnarly issues you run into :)

leth avatar Jul 25 '22 19:07 leth

To summarize from #33:

  • A major version bump was deemed necessary as the upgrade will break compatibility
  • a 2.0-dev branch has been created
  • the code & CI config has been updated to work in 8.1+

I'm not really doing any PHP these days, so I don't know if the release is now ready, or if there are more changes worth making to make it idiomatic modern PHP. I'll have to leave that to @tabacco & others I'm afraid!

leth avatar Jan 06 '23 21:01 leth

I've opened https://github.com/leth/PHP-IPAddress/pull/36 to start the ball rolling on releasing 2.0.0 with PHP8 support.

tabacco avatar Jul 26 '23 20:07 tabacco

Closing this now as #36 has been merged

gormur avatar Aug 18 '23 08:08 gormur