mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
fix namespaces of BarewordStringREctor and SensistiveHereNowDocRector
This commit is contained in:
parent
0de721e350
commit
e0aa23a47a
2
ecs.yml
2
ecs.yml
@ -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'
|
||||
|
||||
|
@ -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;
|
@ -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;
|
@ -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
|
||||
{
|
@ -0,0 +1,2 @@
|
||||
services:
|
||||
Rector\Php\Rector\ConstFetch\BarewordStringRector: ~
|
@ -1,2 +0,0 @@
|
||||
services:
|
||||
Rector\Php\Rector\String\SensitiveHereNowDocRector: ~
|
@ -1,2 +0,0 @@
|
||||
services:
|
||||
Rector\Php\Rector\String_\BarewordStringRector: ~
|
@ -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
|
||||
{
|
@ -0,0 +1,2 @@
|
||||
services:
|
||||
Rector\Php\Rector\String_\SensitiveHereNowDocRector: ~
|
Loading…
x
Reference in New Issue
Block a user