Skip to content

Commit

Permalink
[TASK] Move AddCodeCoverageIgnoreToMethodRectorDefinitionRector (#1655)
Browse files Browse the repository at this point in the history
Resolves: #1653
  • Loading branch information
sabbelasichon authored Nov 24, 2020
1 parent dbc7275 commit 0bf3e5f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"Ssch\\TYPO3Rector\\Generator\\": "utils/generator/src",
"Ssch\\TYPO3Rector\\Generator\\Tests\\": "utils/generator/tests",
"Ssch\\TYPO3Rector\\Tests\\": "tests",
"Ssch\\TYPO3Rector\\PHPStan\\Tests\\": "utils/phpstan/tests"
"Ssch\\TYPO3Rector\\PHPStan\\Tests\\": "utils/phpstan/tests",
"Ssch\\TYPO3Rector\\Rules\\Tests\\": "utils/rules/tests",
"Ssch\\TYPO3Rector\\Rules\\": "utils/rules/src"
},
"exclude-from-classmap": ["**.php.inc"]
},
Expand Down
1 change: 1 addition & 0 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
__DIR__ . '/rector.php',
__DIR__ . '/config',
__DIR__ . '/utils/generator',
__DIR__ . '/utils/rules',
]);

$services = $containerConfigurator->services();
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Rector\Core\Configuration\Option;
use Rector\Set\ValueObject\SetList;
use Ssch\TYPO3Rector\Rector\Misc\AddCodeCoverageIgnoreToMethodRectorDefinitionRector;
use Ssch\TYPO3Rector\Rules\Rector\Misc\AddCodeCoverageIgnoreToMethodRectorDefinitionRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Ssch\TYPO3Rector\Rector\Misc;
namespace Ssch\TYPO3Rector\Rules\Rector\Misc;

use PhpParser\Node;
use PhpParser\Node\Stmt\ClassMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Ssch\TYPO3Rector\Tests\Rector\Misc;
namespace Ssch\TYPO3Rector\Rules\Tests\Rector\Misc;

use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use Ssch\TYPO3Rector\Rector\Misc\AddCodeCoverageIgnoreToMethodRectorDefinitionRector;
use Ssch\TYPO3Rector\Rules\Rector\Misc\AddCodeCoverageIgnoreToMethodRectorDefinitionRector;
use Symplify\SmartFileSystem\SmartFileInfo;

final class AddCodeCoverageIgnoreToMethodRectorDefinitionRectorTest extends AbstractRectorTestCase
Expand Down

0 comments on commit 0bf3e5f

Please sign in to comment.