Commit 05aeb252 authored by Daniel Hürtgen's avatar Daniel Hürtgen

TASK: Use native \SplFileInfo instead of Symfony one

parent 37f87282
......@@ -25,7 +25,6 @@ use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Standards;
use Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory;
use Higidi\ComposerPhpCSStandardsPlugin\Symfony\Finder\Factory as FinderFactory;
use Symfony\Component\Finder\Finder as SymfonyFinder;
use Symfony\Component\Finder\SplFileInfo;
* Standards finder class.
......@@ -67,7 +66,7 @@ class Finder
$paths = iterator_to_array($finder, false);
$paths = array_map(
function (SplFileInfo $file) {
function (\SplFileInfo $file) {
return $file->getPath();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment