Skip to content

Commit ff1cabb

Browse files
CS fixes
1 parent c1d5c35 commit ff1cabb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Pipes/AbstractPipes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected function write(): ?array
133133
}
134134

135135
if ($input) {
136-
for (;;) {
136+
while (true) {
137137
$data = fread($input, self::CHUNK_SIZE);
138138
if (!isset($data[0])) {
139139
break;

Tests/ProcessTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,8 @@ public function testIterateOverProcessWithTimeout()
772772
$start = microtime(true);
773773
try {
774774
$process->start();
775-
foreach ($process as $buffer);
775+
foreach ($process as $buffer) {
776+
}
776777
$this->fail('A RuntimeException should have been raised');
777778
} catch (RuntimeException $e) {
778779
}

0 commit comments

Comments
 (0)