Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php-amqplib/php-amqplib >= 3.2 required #731

Closed
wants to merge 1 commit into from

Conversation

l-vo
Copy link
Contributor

@l-vo l-vo commented Oct 24, 2024

Due to the usage of PhpAmqpLib\Connection\AMQPConnectionConfig, php-amqplib/php-amqplib >= 3.2 is required.

@l-vo l-vo requested a review from mihaileu as a code owner October 24, 2024 13:47
@mihaileu
Copy link
Collaborator

Could you please elaborate a bit, as this will remove compatibility with the olde version of the library. Is the a bug or warning ?

@l-vo
Copy link
Contributor Author

l-vo commented Oct 24, 2024

It's a bug, if php-amqplib/php-amqplib is under 3.2, AMQPConnectionConfig doesn't exist. But actually, AMQPConnectionConfig is only used to retrieve class constants. Using simple strings instead of constants will preserve backward compatibility. WDYT ?

@l-vo l-vo closed this Oct 29, 2024
@l-vo
Copy link
Contributor Author

l-vo commented Oct 29, 2024

Closed in favor of #732

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

Successfully merging this pull request may close these issues.

2 participants