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 test to illustrate #125 (stream_select/interrupt issue). Also a fix #128

Merged
merged 5 commits into from Nov 30, 2022

Conversation

mermshaus
Copy link
Contributor

@mermshaus mermshaus commented Nov 30, 2022

(This is based on #127. Only the commits starting with “Improve code structure in tests. Add test to illustrate #125” are new.)

This PR adds a test to show the issue from #125. With some of the commits, the test intentionally fails for all PHP 8 checks. See here for example.

For good measure, I also added the smallest possible fix. This would make #125 obsolete. Hope that’s okay for everyone.

@WyriHaximus If you need more info, just get back to me in some way (e.g. @merms@mastodon.social). I’d really like to have this merged. 🙂

@mermshaus mermshaus changed the title Add test to illustrate #125 Add test to illustrate #125 (stream_select/interrupt issue) Nov 30, 2022
@mermshaus mermshaus changed the title Add test to illustrate #125 (stream_select/interrupt issue) Add test to illustrate #125 (stream_select/interrupt issue). Also a fix Nov 30, 2022
@mermshaus mermshaus marked this pull request as ready for review November 30, 2022 14:47
Copy link
Collaborator

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

Awesome thank you! Will tag a release with this later this week 👍

@@ -26,18 +26,21 @@
],
"require": {
"php": "^7.1 || ^8.0",
"ext-pcntl": "*",
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should have been added ages ago 😅 .

@WyriHaximus WyriHaximus merged commit 5b74a0f into jakubkulhan:master Nov 30, 2022
@mermshaus mermshaus deleted the issue-125 branch December 1, 2022 09:15
@WyriHaximus WyriHaximus added this to the v0.5.2 milestone Dec 10, 2022
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.

None yet

2 participants