Skip to content

Commit

Permalink
Merge pull request #10 from creative-commoners/pulls/1.0/remove-self
Browse files Browse the repository at this point in the history
ENH Use class name instead of self
  • Loading branch information
GuySartorelli authored Jun 17, 2024
2 parents 2445a60 + 99913a7 commit e406949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/SnifferFixTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testFix()

// backup original content
$orig = [];
$paths = self::getFilesList($sniffer);
$paths = SnifferFixTest::getFilesList($sniffer);
/** @var string $path */
foreach ($paths as $path => $v) {
$orig[$path] = file_get_contents($path);
Expand Down
2 changes: 1 addition & 1 deletion tests/SnifferTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testFindFencedCodeBlocks(
}

$sniffer = new Sniffer();
$files = self::getFilesList($sniffer);
$files = SnifferTest::getFilesList($sniffer);

$findFencedCodeblocks = new ReflectionMethod($sniffer, 'findFencedCodeblocks');
$findFencedCodeblocks->setAccessible(true);
Expand Down

0 comments on commit e406949

Please sign in to comment.