run phpcbf

This commit is contained in:
Robin Krahnen 2021-09-16 15:30:22 +02:00
parent 7767091426
commit 8da32c3969
3 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ class SequenceTest extends FunctionalTestCase
$pIds = []; $pIds = [];
for ($i = 0; $i < 10; $i++) { for ($i = 0; $i < 10; $i++) {
$pId = pcntl_fork(); $pId = \pcntl_fork();
if ($pId) { if ($pId) {
$pIds[] = $pId; $pIds[] = $pId;
} else { } else {
@ -39,7 +39,7 @@ class SequenceTest extends FunctionalTestCase
foreach ($pIds as $pId) { foreach ($pIds as $pId) {
$status = 0; $status = 0;
pcntl_waitpid($pId, $status); \pcntl_waitpid($pId, $status);
} }
$this->assertEquals(101, $sequenceGenerator->getLastNumberFor($sequenceGenerator)); $this->assertEquals(101, $sequenceGenerator->getLastNumberFor($sequenceGenerator));