You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently investing some time into Ratchet and want to test the project against PHP 8.0+. Inspired by #923 by @WyriHaximus, I wanted to try it out myself. Before running the test suite with the PHP 8 versions, I first have to update PHPUnit to the latest version (at least v8, maybe v9 as a first step) and make it work across the current supported PHP versions for this project (PHP 5.4 - PHP 7.4). I did the same thing for ReactPHP a while ago (e.g. reactphp/http#364), so I already know my ways around.
Will keep you posted 👍
Reacted by Cees-Jan Kiewiet, Christian Lück, agarzon-orangerine, Joe, David, Thibaut Gobert, Daniel Lima, Charles Beasse, Blue, Oleh and 9 more
Reacted by Aurimas Pauga, Człowiek Polar, Joe, David, Daniel Lima, shado, Tomáš Kudělka, pgavanuatu, Nothorse and steveniclas
To add some context: Ratchet already has limited support for PHP 8+ and many people use this in production, but it may report some minor deprecations as mentioned in the linked tickets. I've started looking into this together with @SimonFrings to bring full support for PHP 8+, update the test environment, and fix any warnings. Ratchet could definitely use some love and we're still working on ways to ensure this will be addressed in the future!
If you also want to see this ticket solved, you can upvote or help by sponsoring our development. ❤️ We'll work out a longer-term plan to ensure ongoing development of Ratchet, but this is probably out of scope for this ticket at the moment (see #921?). In the meantime, I'll hide offtopic comments here to allow us to focus and getting things done. 💪
Reacted by Simon Frings, David, Willem Turkstra, Denis Macak, Thibaut Gobert, Frank Schreuder, Charles Beasse, Jaussoin Timothée, Gurvan BK, poVoq and 26 more
Hi,
First of all : congrats on the great work on this project.
I need to prepare my code for php8.2 and as you already know... last version of rachet is not working because PHP is becoming a strict language and we need now to declare every Variables.
Is there a timeline for your fixes for php8.2 ?
If it is one month,
I fix it localy with #[AllowDynamicProperties] and wait for your solution
if it is more, I will need to change to something else...
Really hope for the new patch to solve the 8.2 depricated issue!
We're using error_reporting(E_ALL ^ E_DEPRECATED); as a workaround where we're using Rachet ... not ideal as it may hide other depreciations which we would want to be aware of.
Thanks for your patience, I know it's been a while, but it's finally happening! 🚀
Over the past weeks, I've merged a number of PRs to finally bring full support for PHP 8.4+ (see #1094, #1096, #1097, #1099 and others). This is part of a larger effort reviving Ratchet as discussed in #1054, solving many other issues along the way.
Activity
CoderJoeW commentedon Mar 17, 2023
agarzon-orangerine commentedon Mar 23, 2023
clue commentedon Mar 23, 2023
To add some context: Ratchet already has limited support for PHP 8+ and many people use this in production, but it may report some minor deprecations as mentioned in the linked tickets. I've started looking into this together with @SimonFrings to bring full support for PHP 8+, update the test environment, and fix any warnings. Ratchet could definitely use some love and we're still working on ways to ensure this will be addressed in the future!
If you also want to see this ticket solved, you can upvote or help by sponsoring our development. ❤️ We'll work out a longer-term plan to ensure ongoing development of Ratchet, but this is probably out of scope for this ticket at the moment (see #921?). In the meantime, I'll hide offtopic comments here to allow us to focus and getting things done. 💪
thorewi commentedon Apr 26, 2023
pgavanuatu commentedon May 28, 2023
Hi,
First of all : congrats on the great work on this project.
I need to prepare my code for php8.2 and as you already know... last version of rachet is not working because PHP is becoming a strict language and we need now to declare every Variables.
Is there a timeline for your fixes for php8.2 ?
If it is one month,
I fix it localy with #[AllowDynamicProperties] and wait for your solution
if it is more, I will need to change to something else...
Thanks a lot for your help
Regards
Philippe
akawaldschrat commentedon Dec 14, 2023
agarzon-orangerine commentedon Dec 14, 2023
seb303 commentedon Dec 14, 2023
We're using
error_reporting(E_ALL ^ E_DEPRECATED);as a workaround where we're using Rachet ... not ideal as it may hide other depreciations which we would want to be aware of.xalagu commentedon Dec 31, 2023
xalagu commentedon Dec 31, 2023
clue commentedon May 23, 2025
Thanks for your patience, I know it's been a while, but it's finally happening! 🚀
Over the past weeks, I've merged a number of PRs to finally bring full support for PHP 8.4+ (see #1094, #1096, #1097, #1099 and others). This is part of a larger effort reviving Ratchet as discussed in #1054, solving many other issues along the way.
If you'd like to support us on this journey, consider sponsoring the project. ❤️