Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Process] Allow a callback whenever the output is disabled #17427

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

Merged

Conversation

romainneutron
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets Related to #17390
License MIT

This was not allowed in the past. However, it's possible with these changes

@fabpot
Copy link
Member

fabpot commented Jan 25, 2016

Thank you @romainneutron.

@fabpot fabpot merged commit 02f0fc7 into symfony:master Jan 25, 2016
fabpot added a commit that referenced this pull request Jan 25, 2016
…bled (romainneutron)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Process] Allow a callback whenever the output is disabled

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | Related to #17390
| License       | MIT

This was not allowed in the past. However, it's possible with these changes

Commits
-------

02f0fc7 [Process] Allow a callback whenever the output is disabled
fabpot added a commit that referenced this pull request Feb 28, 2016
…zsef)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Process] Remove unreachable return statement.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

[This return](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/Process.php#L1267) is [unreachable](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/Process.php#L1255) after #17427.

Commits
-------

8f2d5bb [Process] Remove unreachable return statement.
@romainneutron romainneutron deleted the allow-callback-whenever-output-disabled branch February 29, 2016 16:19
nicolas-grekas added a commit that referenced this pull request Apr 4, 2016
…ut (nicolas-grekas)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Process] Fixes & testNonBlockingNorClearingIteratorOutput

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17427
| License       | MIT
| Doc PR        | -

hasCallback (added on master in #17427) always returns true currently.

Commits
-------

3a109a2 [Process] Fixes & testNonBlockingNorClearingIteratorOutput
@fabpot fabpot mentioned this pull request May 13, 2016
xabbuh added a commit to symfony/symfony-docs that referenced this pull request Jun 20, 2016
…indra)

This PR was merged into the 3.1 branch.

Discussion
----------

Process: callbacks now allowed when output disabled

This is a recent change in 3.1 added by @romainneutron

Callbacks are allowed even if output is disabled

Related issue: symfony/symfony#17427

Commits
-------

687b915 Process: callbacks now allowed when output disabled
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