Closed miken32 closed 2 years ago
Note there are still plenty of other notices from other outdated PEAR components. I considered running this code through some modernization cleanups, but not sure how useful it would be given the dated foundation it's built on. Might be an interesting project to rebuild it to use Symfony components...
Yeah, I've been thinking about rewriting this lib on top of ReactPHP, perhaps also with some symfony events, as the biggest feature request I've ever gotten is to manipulate multiple routers with one script... which would be far easier with an event loop, and ReactPHP provides that, and has a wide range of PHP versions support.
My only holdup once upon a time was the lack of ability to install those with pear/pyrus, but given pyrus is fully dead, and pear is just up for legacy reasons, I guess I might as well start that, and redirect to it from this project once it's ready.
Merged. Thank you. I'll do a release in a few days or so.
Thanks; I have no experience with React or client/server stuff, but I'd be happy to provide testing, PRs, or bug fixes where I can help. Would be nice to get this old PEAR stuff out of my codebase!
Gets rid of these notices:
Used the
#[\ReturnTypeWillChange]
attribute in a few places sincemixed
is not available as a return type in the (technically) still supported PHP 7.4.