Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 31, 2020
1 parent 60e59de commit 9331b00
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Framework/TestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,8 @@ public function addWarning(string $warning): void
public function addTestFile(string $filename): void
{
if (\file_exists($filename) && \substr($filename, -5) === '.phpt') {
$this->addTest(
new PhptTestCase($filename)
);
$this->addTest(new PhptTestCase($filename));

$this->declaredClasses = \get_declared_classes();

return;
Expand Down Expand Up @@ -571,7 +570,9 @@ public function run(TestResult $result = null): TestResult
echo \implode(
\PHP_EOL,
\array_unique($this->warnings)
), \PHP_EOL, \PHP_EOL;
),
\PHP_EOL,
\PHP_EOL;
}

/** @psalm-var class-string $className */
Expand Down

0 comments on commit 9331b00

Please sign in to comment.