Skip to content

Commit 07b52fe

Browse files
committed
Removed unused method CompareCommand::fileScanner.
1 parent 019f099 commit 07b52fe

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/PHPSemVerChecker/Console/Command/CompareCommand.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,4 @@ protected function execute(InputInterface $input, OutputInterface $output)
5454

5555
(new Reporter())->output($beforeRegistry, $afterRegistry, $output);
5656
}
57-
58-
protected function fileScanner($pattern)
59-
{
60-
$dir = new RecursiveDirectoryIterator('.');
61-
$ite = new RecursiveIteratorIterator($dir);
62-
$files = new RegexIterator($ite, $pattern, RegexIterator::GET_MATCH);
63-
foreach ($files as $file) {
64-
echo $file . PHP_EOL;
65-
}
66-
}
6757
}

0 commit comments

Comments
 (0)