mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-29 19:37:55 +01:00
fix tests
This commit is contained in:
parent
e6d297a2e6
commit
85d6f6a0fc
@ -15,7 +15,7 @@ final class NamespaceClassRector extends AbstractClassReplacerRector
|
||||
protected function getOldToNewClasses(): array
|
||||
{
|
||||
return [
|
||||
'PHP_CodeSniffer_Sniffs_File' => 'PHP_CodeSniffer\Sniffs\Sniff',
|
||||
'PHP_CodeSniffer_Sniffs_Sniff' => 'PHP_CodeSniffer\Sniffs\Sniff',
|
||||
'PHP_CodeSniffer_File' => 'PHP_CodeSniffer\Files\File',
|
||||
'PHP_CodeSniffer_Tokens' => 'PHP_CodeSniffer\Util\Tokens',
|
||||
'StandardName_Tests_Category_TestSniffUnitTest' => 'PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest',
|
||||
|
@ -13,7 +13,7 @@ use Rector\Node\Attribute;
|
||||
use Rector\NodeAnalyzer\SymfonyContainerCallsAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector\Source\LocalKernel;
|
||||
use Rector\Tests\Rector\Contrib\Symfony\GetterToPropertyRector\Source\LocalKernel;
|
||||
|
||||
/**
|
||||
* Ref: https://github.com/symfony/symfony/blob/master/UPGRADE-4.0.md#console
|
||||
|
@ -11,7 +11,7 @@ use Rector\Node\Attribute;
|
||||
use Rector\NodeAnalyzer\SymfonyContainerCallsAnalyzer;
|
||||
use Rector\NodeFactory\NodeFactory;
|
||||
use Rector\Rector\AbstractRector;
|
||||
use Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector\Source\LocalKernel;
|
||||
use Rector\Tests\Rector\Contrib\Symfony\GetterToPropertyRector\Source\LocalKernel;
|
||||
|
||||
/**
|
||||
* Converts all:
|
||||
|
@ -17,7 +17,7 @@ final class SetNames
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const SYMFONY_EXTRA = 'SymfonyExtra';
|
||||
public const SYMFONY_EXTRA = 'Symfony';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Tests\Rector\Contrib\SymfonyExtra\CommandToConstructorInjectionRector;
|
||||
namespace Rector\Tests\Rector\Contrib\Symfony\CommandToConstructorInjectionRector;
|
||||
|
||||
use Rector\Rector\Contrib\SymfonyExtra\CommandToConstructorInjectionRector;
|
||||
use Rector\Rector\Contrib\Symfony\CommandToConstructorInjectionRector;
|
||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
|
||||
final class Test extends AbstractRectorTestCase
|
@ -1,6 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector\Source;
|
||||
namespace Rector\Tests\Rector\Contrib\Symfony\GetterToPropertyRector\Source;
|
||||
|
||||
use Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
|
@ -1,8 +1,8 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\Tests\Rector\Contrib\SymfonyExtra\GetterToPropertyRector;
|
||||
namespace Rector\Tests\Rector\Contrib\Symfony\GetterToPropertyRector;
|
||||
|
||||
use Rector\Rector\Contrib\SymfonyExtra\GetterToPropertyRector;
|
||||
use Rector\Rector\Contrib\Symfony\GetterToPropertyRector;
|
||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
|
||||
|
||||
final class Test extends AbstractRectorTestCase
|
Loading…
x
Reference in New Issue
Block a user