Skip to content

Commit

Permalink
Fix: Run 'php-cs-fixer fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed Jul 3, 2020
1 parent 700ae86 commit 1a87118
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Framework/ExceptionWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function setClassName(string $className): void
$this->className = $className;
}

public function setOriginalException(\Throwable $t): void
public function setOriginalException(Throwable $t): void
{
$this->originalException($t);

Expand Down
8 changes: 4 additions & 4 deletions tests/_files/MyTestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class MyTestListener implements TestListener

private $startCount = 0;

public function addError(Test $test, \Throwable $t, float $time): void
public function addError(Test $test, Throwable $t, float $time): void
{
$this->errorCount++;
}
Expand All @@ -46,17 +46,17 @@ public function addFailure(Test $test, AssertionFailedError $e, float $time): vo
$this->failureCount++;
}

public function addIncompleteTest(Test $test, \Throwable $t, float $time): void
public function addIncompleteTest(Test $test, Throwable $t, float $time): void
{
$this->notImplementedCount++;
}

public function addRiskyTest(Test $test, \Throwable $t, float $time): void
public function addRiskyTest(Test $test, Throwable $t, float $time): void
{
$this->riskyCount++;
}

public function addSkippedTest(Test $test, \Throwable $t, float $time): void
public function addSkippedTest(Test $test, Throwable $t, float $time): void
{
$this->skippedCount++;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/_files/TestIteratorAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TestIteratorAggregate implements IteratorAggregate
{
private $traversable;

public function __construct(\Traversable $traversable)
public function __construct(Traversable $traversable)
{
$this->traversable = $traversable;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/_files/TestIteratorAggregate2.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TestIteratorAggregate2 implements IteratorAggregate
{
private $traversable;

public function __construct(\Traversable $traversable)
public function __construct(Traversable $traversable)
{
$this->traversable = $traversable;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Issue3379TestListener implements TestListener
{
use TestListenerDefaultImplementation;

public function addSkippedTest(Test $test, \Throwable $t, float $time): void
public function addSkippedTest(Test $test, Throwable $t, float $time): void
{
if ($test instanceof TestCase) {
print 'Skipped test ' . $test->getName() . ', status: ' . $test->getStatus() . \PHP_EOL;
Expand Down

0 comments on commit 1a87118

Please sign in to comment.