Skip to content

Add support for null queue #32

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

iSWORD
Copy link

@iSWORD iSWORD commented Feb 6, 2025

If the connection is configured without a queue, and the queue is provided while performing a pushRaw(), the operation will throw a warning:

DEPRECATED  str_ends_with(): Passing null to parameter #1 ($haystack) of type string is deprecated

Additionally, the InvalidArgumentException blocks further execution even if a queue is provided to the push function.

If the connection is configured without a queue, and the queue is provided while performing a pushRaw(), the operation will throw a warning:
```
DEPRECATED  str_ends_with(): Passing null to parameter shiftonelabs#1 ($haystack) of type string is deprecated
```
@iSWORD iSWORD changed the title Update the connect() method to avoid throwing warnings if queue is null Add support for null queue Mar 20, 2025
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.

1 participant