Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 17, 2023
1 parent ff9e712 commit 3a17c1a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions tests/Common/Command/AbstractDownCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ public function testPartiallyReverted(): void
try {
$exitCode = $command->setInputs(['yes'])->execute(['-a' => true]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down Expand Up @@ -329,7 +330,8 @@ public function testNotReverted(): void
try {
$exitCode = $command->setInputs(['yes'])->execute([]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down
12 changes: 8 additions & 4 deletions tests/Common/Command/AbstractRedoCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ public function testPartiallyReverted(): void
try {
$exitCode = $command->setInputs(['yes'])->execute(['-a' => true]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down Expand Up @@ -255,7 +256,8 @@ public function testNotReverted(): void
try {
$exitCode = $command->setInputs(['yes'])->execute([]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down Expand Up @@ -284,7 +286,8 @@ public function testRevertedButPartiallyApplied(): void
try {
$exitCode = $command->setInputs(['yes'])->execute(['-a' => true]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand All @@ -304,7 +307,8 @@ public function testRevertedButNotApplied(): void
try {
$exitCode = $command->setInputs(['yes'])->execute([]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down
6 changes: 4 additions & 2 deletions tests/Common/Command/AbstractUpdateCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ public function testPartiallyUpdated(): void
try {
$exitCode = $command->setInputs(['yes'])->execute([]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down Expand Up @@ -476,7 +477,8 @@ public function testNotUpdated(): void
try {
$exitCode = $command->setInputs(['yes'])->execute([]);
} catch (Throwable $e) {
while ($e = $e->getPrevious()){}
while ($e = $e->getPrevious()) {
}
}

$output = $command->getDisplay(true);
Expand Down

0 comments on commit 3a17c1a

Please sign in to comment.