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

Appearance settings

Commit 875a466

Browse filesBrowse files
CS fix
1 parent 99881e6 commit 875a466
Copy full SHA for 875a466

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed

‎src/Symfony/Component/Messenger/Tests/WorkerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Tests/WorkerTest.php
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -605,18 +605,17 @@ public function testGcCollectCyclesIsCalledOnIdleWorker()
605605
if (0 === $i) {
606606
$this->assertFalse($event->isWorkerIdle());
607607
$this->assertSame(0, $after - $before);
608-
} else if (1 === $i) {
608+
} elseif (1 === $i) {
609609
$this->assertTrue($event->isWorkerIdle());
610610
$this->assertSame(1, $after - $before);
611-
} else if (3 === $i) {
611+
} elseif (3 === $i) {
612612
// Wait a few idle phases before stopping.
613613
$this->assertSame(1, $after - $before);
614614
$event->getWorker()->stop();
615615
}
616616

617-
$i++;
618-
}, PHP_INT_MIN);
619-
617+
++$i;
618+
}, \PHP_INT_MIN);
620619

621620
$worker = new Worker(['transport' => $receiver], $bus, $dispatcher);
622621

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.