diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index bc18da3..469fc99 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -3,7 +3,7 @@ $finder = PhpCsFixer\Finder::create() ->in(__DIR__) - ->exclude('tests/ClassNotation/_data') + ->exclude('tests/Fixer/ClassNotation/_data') ; return Ely\CS\Config::create([ diff --git a/src/AbstractFixer.php b/src/Fixer/AbstractFixer.php similarity index 85% rename from src/AbstractFixer.php rename to src/Fixer/AbstractFixer.php index 5d17705..e2581e3 100644 --- a/src/AbstractFixer.php +++ b/src/Fixer/AbstractFixer.php @@ -1,7 +1,7 @@ in(__DIR__)->name('*.php'); + $finder->in(__DIR__ . '/Fixer')->name('*.php'); $classes = []; /** @var \Symfony\Component\Finder\SplFileInfo $file */ foreach ($finder as $file) { diff --git a/tests/ClassNotation/_data/EmptyInterface.php b/tests/ClassNotation/_data/EmptyInterface.php deleted file mode 100644 index 9edc9e2..0000000 --- a/tests/ClassNotation/_data/EmptyInterface.php +++ /dev/null @@ -1,8 +0,0 @@ - [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ '