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 phpcbf hanging issue by closing stdin #1059

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Fix phpcbf hanging issue by closing stdin #1059

merged 1 commit into from
Jul 11, 2016

Conversation

yesenarman
Copy link
Contributor

@yesenarman yesenarman commented Jul 11, 2016

What does this implement/fix? Explain your changes.

This is a fix for issue #893.
There is an issue squizlabs/PHP_CodeSniffer#993 in phpcbf where it hangs when waiting for stdin.
The workaround is to close stdin of the child process since it is not being used anyway.

Checklist

Check all those that are applicable and complete.

  • Merged with latest master branch
  • Added examples for testing to examples/ directory
  • Travis CI passes (Mac support)
  • AppVeyor passes (Windows support)

@mention-bot
Copy link

@yesenarman, thanks for your PR! By analyzing the annotation information on this pull request, we identified @ra100 and @UziTech to be potential reviewers

@Glavin001
Copy link
Owner

Thank you for contributing!

@Glavin001 Glavin001 merged commit 88a8edb into Glavin001:master Jul 11, 2016
@Glavin001 Glavin001 added the bug label Jul 11, 2016
@Glavin001 Glavin001 added this to the v0.30.0 milestone Jul 11, 2016
@Glavin001 Glavin001 self-assigned this Jul 11, 2016
@Glavin001
Copy link
Owner

Published to v0.29.11

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.

3 participants