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

Add missing field declaration from PipeMessage object for "worker_id" #5440

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

cjavad
Copy link
Contributor

@cjavad cjavad commented Aug 11, 2024

In swoole-5.1.3 and most likely all newer versions (6.0.0 included) when using the object api for the PipeMessage callback, the code sets the field "worker_id" that is not declared on the object structure leading to a deprecation warning being triggered for PHP 8.2 and beyond.

@matyhtf matyhtf merged commit 100840d into swoole:master Aug 13, 2024
36 of 40 checks passed
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