Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05c9f6c

Browse files
bug#19508 [Process] Fix AbstractPipes::write() for a situation seen on HHVM (at least) (nicolas-grekas)
This PR was merged into the 2.7 branch.Discussion----------[Process] Fix AbstractPipes::write() for a situation seen on HHVM (at least)| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |composer/composer#5381,composer/composer#5566| License | MIT| Doc PR | -Even if I tried with my local hhvm, I can't reproduce the reported issues, yet it looks like some versions of HHVM trigger a notice here.Commits-------2bb2b9b [Process] Fix AbstractPipes::write() for a situation seen on HHVM (at least)
2 parents45dac4b +2bb2b9b commit05c9f6c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/Symfony/Component/Process/Pipes/AbstractPipes.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ protected function write()
134134
if (null ===$this->input && !isset($this->inputBuffer[0])) {
135135
fclose($this->pipes[0]);
136136
unset($this->pipes[0]);
137-
}
138-
139-
if (!$w) {
137+
}elseif (!$w) {
140138
returnarray($this->pipes[0]);
141139
}
142140
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp