diff --git a/tests/SnifferFixTest.php b/tests/SnifferFixTest.php index c3429cb..693ebca 100644 --- a/tests/SnifferFixTest.php +++ b/tests/SnifferFixTest.php @@ -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); diff --git a/tests/SnifferTest.php b/tests/SnifferTest.php index e5f9dfc..f79373c 100644 --- a/tests/SnifferTest.php +++ b/tests/SnifferTest.php @@ -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);