Skip to content

Conversation

@jaapio
Copy link
Contributor

@jaapio jaapio commented Sep 1, 2025

ratchet/rfc6455 as a new required param in the constructor of ServerNegotiator which is breaking the code. As this project still supports very old php versions we need to keep support for 0.3 but also include support for 0.4. Reflection is used to check for the correct version.

The option of using composer's new version checks is not possible as the older versions of composer do not have this class.

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

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

@jaapio Thank you very much for looking into this! Changes look great, may I ask you to address these nits below, otherwise good to merge! :shipit:

ratchet/rfc6455 as a new required param in the constructor of
ServerNegotiator which is breaking the code. As this project still
supports very old php versions we need to keep support for 0.3 but
also include support for 0.4. Reflection is used to check for the
correct version.

The option of using composer's new version checks is not possible as
the older versions of composer do not have this class.
@jaapio
Copy link
Contributor Author

jaapio commented Oct 20, 2025

@clue done, thanks for reviewing!

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

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

@jaapio This is great, thank you for looking into this, let's move forward with this! :shipit: (Refs #1054)

@clue clue merged commit 9ac6a41 into ratchetphp:0.4.x Oct 25, 2025
14 checks passed
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.

2 participants