Skip to content

Commit e33499e

Browse files
patinthehatactions-user
authored andcommitted
Fix styling
1 parent 15fa9b3 commit e33499e

File tree

6 files changed

+3
-6
lines changed

6 files changed

+3
-6
lines changed

src/Commands/CheckCoverageCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function execute(InputInterface $input, OutputInterface $output): int
3939

4040
try {
4141
$this->config->validate();
42-
} catch(\InvalidArgumentException $e) {
42+
} catch (\InvalidArgumentException $e) {
4343
$output->writeln("<error>[ERROR]</error> {$e->getMessage()}");
4444

4545
return Command::INVALID;

src/CoverageChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ public function check(float $minPercentage): bool
3939
{
4040
return $this->getCoveragePercent() >= $minPercentage;
4141
}
42-
}
42+
}

tests/Commands/CheckCoverageCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,4 @@ public function it_passes_invalid_parameters_and_returns_an_invalid_argument_err
121121

122122
$this->assertEquals(Command::INVALID, $result);
123123
}
124-
125124
}

tests/Configuration/ConfigurationFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function it_does_not_throw_an_exception_when_validating_the_configuration
6161

6262
try {
6363
$config->validate();
64-
} catch(\Exception $e) {
64+
} catch (\Exception $e) {
6565
$hasException = true;
6666
}
6767

tests/CoverageCheckerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ public function it_checks_for_a_minimum_coverage_percentage()
2323
$this->assertTrue($checker->check(75));
2424
$this->assertFalse($checker->check(99));
2525
}
26-
2726
}

tests/TestClasses/FakeOutput.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,4 @@ public function writeln($messages, int $options = 0)
6969
{
7070
$this->writtenData[] = $messages;
7171
}
72-
7372
}

0 commit comments

Comments
 (0)