We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d5c35 commit ff1cabbCopy full SHA for ff1cabb
Pipes/AbstractPipes.php
@@ -133,7 +133,7 @@ protected function write(): ?array
133
}
134
135
if ($input) {
136
- for (;;) {
+ while (true) {
137
$data = fread($input, self::CHUNK_SIZE);
138
if (!isset($data[0])) {
139
break;
Tests/ProcessTest.php
@@ -772,7 +772,8 @@ public function testIterateOverProcessWithTimeout()
772
$start = microtime(true);
773
try {
774
$process->start();
775
- foreach ($process as $buffer);
+ foreach ($process as $buffer) {
776
+ }
777
$this->fail('A RuntimeException should have been raised');
778
} catch (RuntimeException $e) {
779
0 commit comments