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

Fix compatibility with array_walk() overriden by swoole #5

Merged
merged 2 commits into from
Jul 14, 2020

Conversation

Xerkus
Copy link
Member

@Xerkus Xerkus commented Feb 7, 2020

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

Swoole 4.4.0 and higher does not accept array callables in overridden array_walk(). This fix simply converts array callable into closure.

@Xerkus Xerkus added the Bug Something isn't working label Feb 7, 2020
@Xerkus Xerkus added this to the 3.0.3 milestone Feb 7, 2020
@Xerkus Xerkus linked an issue Feb 7, 2020 that may be closed by this pull request
2 tasks
@michalbundyra
Copy link
Member

@Xerkus any unit tests here?

@Xerkus
Copy link
Member Author

Xerkus commented Feb 8, 2020

@michalbundyra No. I don't think they are needed as this is a bug on a swoole side anyway.

@weierophinney weierophinney merged commit e90cf85 into laminas:master Jul 14, 2020
weierophinney added a commit that referenced this pull request Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FilterComposite issue with Swoole 4.4.0 and higher
3 participants