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 May 4, 2021
1 parent 5d3b76a commit fc07b35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/Util/TestClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace PHPUnit\Util;

use function array_merge;
use function get_class;
use function preg_match;
use function range;
use function realpath;
Expand Down Expand Up @@ -1126,7 +1125,7 @@ public function testParseAnnotation(): void
{
$this->assertEquals(
['Foo', 'ほげ'],
Test::getDependencies(get_class($this), 'methodForTestParseAnnotation')
Test::getDependencies(self::class, 'methodForTestParseAnnotation')
);
}

Expand All @@ -1144,7 +1143,7 @@ public function testParseAnnotationThatIsOnlyOneLine(): void
{
$this->assertEquals(
['Bar'],
Test::getDependencies(get_class($this), 'methodForTestParseAnnotationThatIsOnlyOneLine')
Test::getDependencies(self::class, 'methodForTestParseAnnotationThatIsOnlyOneLine')
);
}

Expand Down

0 comments on commit fc07b35

Please sign in to comment.