Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

clue
Copy link
Member

@clue clue commented May 16, 2025

This changeset adds support for Symfony 7 on PHP 8.2+. This is part 9 of reviving Ratchet as discussed in #1054, unblocking more future progress.

With these changes applied, the existing test suite recently updated with #1096, #1095, #1094, #1093 and #1092 now confirms that Symfony 7 can successfully be used on PHP 8.2+. This builds on top of the recent fixes for Symfony 6 in #1095 and any related test suite improvements. Once merged, this would conclude the recent Symfony improvements, but there's still work to be done to support newer PHP versions as suggested in #1097 and elsewhere.

Note that the implementation involves two new classes used for Symfony 7 compatibility only as already done for Symfony 6 support in #1095 and as originally suggested by @josh-gaby in #1014. This PR doesn't directly apply from the other PR mainly due to its broader scope and complexity, but it applies some very similar ideas. While this duplication isn't exactly perfect, I think it's good enough to get this up to date again. Future PRs to avoid this duplication welcome.

Overall, this still requires a massive effort. If you want to support this project, please consider sponsoring @reactphp ❤️

Builds on top of #1096, #1095, #1094, #1093, #1092, #1091 and #1088, one step closer to reviving Ratchet as discussed in #1054
Resolves / closes #1045

@clue clue added this to the 0.4.5 milestone May 16, 2025
Copy link
Contributor

@PaulRotmann PaulRotmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice progress so far! 👍

@clue clue merged commit a0d98d3 into ratchetphp:0.4.x May 17, 2025
12 checks passed
@clue clue deleted the symfony7 branch May 17, 2025 14:17
@clue
Copy link
Member Author

clue commented May 17, 2025

Let's get this shipped so we can get more feedback and start shipping the next bits! :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add compatibility with Symfony 7
2 participants