fix namespaces of BarewordStringREctor and SensistiveHereNowDocRector

This commit is contained in:
Tomas Votruba 2018-10-17 14:45:05 +02:00
parent 0de721e350
commit e0aa23a47a
13 changed files with 11 additions and 11 deletions

View File

@ -106,7 +106,7 @@ parameters:
- '*NodeVisitor.php'
- '*CompilerPass.php'
- 'packages/Php/src/Rector/Unset_/UnsetCastRector.php'
- 'packages/Php/src/Rector/String_/BarewordStringRector.php'
- 'packages/Php/src/Rector/ConstFetch/BarewordStringRector.php'
# array type check
- 'src/RectorDefinition/RectorDefinition.php'

View File

@ -1,6 +1,6 @@
<?php declare(strict_types=1);
namespace Rector\Php\Rector\String_;
namespace Rector\Php\Rector\ConstFetch;
use Nette\Utils\Strings;
use PhpParser\Node;

View File

@ -1,6 +1,6 @@
<?php declare(strict_types=1);
namespace Rector\Php\Rector\String;
namespace Rector\Php\Rector\String_;
use Nette\Utils\Strings;
use PhpParser\Node;

View File

@ -1,12 +1,12 @@
<?php declare(strict_types=1);
namespace Rector\Php\Tests\Rector\String_\BarewordStringRector;
namespace Rector\Php\Tests\Rector\ConstFetch\BarewordStringRector;
use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
/**
* @covers \Rector\Php\Rector\String_\BarewordStringRector
* @covers \Rector\Php\Rector\ConstFetch\BarewordStringRector
*/
final class BarewordStringRectorTest extends AbstractRectorTestCase
{

View File

@ -0,0 +1,2 @@
services:
Rector\Php\Rector\ConstFetch\BarewordStringRector: ~

View File

@ -1,2 +0,0 @@
services:
Rector\Php\Rector\String\SensitiveHereNowDocRector: ~

View File

@ -1,2 +0,0 @@
services:
Rector\Php\Rector\String_\BarewordStringRector: ~

View File

@ -1,12 +1,12 @@
<?php declare(strict_types=1);
namespace Rector\Php\Tests\Rector\String\SensitiveHereNowDocRector;
namespace Rector\Php\Tests\Rector\String_\SensitiveHereNowDocRector;
use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
/**
* @covers \Rector\Php\Rector\String\SensitiveHereNowDocRector
* @covers \Rector\Php\Rector\String_\SensitiveHereNowDocRector
*/
final class SensitiveHereNowDocRectorTest extends AbstractRectorTestCase
{

View File

@ -0,0 +1,2 @@
services:
Rector\Php\Rector\String_\SensitiveHereNowDocRector: ~