Skip to content

Commit 4a642a1

Browse files
authored
Fix Source fixture file name on KnownMagicClassMethodTypeRector (#7427)
1 parent 03df849 commit 4a642a1

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@
9090
"classmap": [
9191
"stubs",
9292
"rules-tests/CodingStyle/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source",
93-
"rules-tests/Renaming/Rector/Name/RenameClassRector/Source",
94-
"rules-tests/TypeDeclaration/Rector/ClassMethod/KnownMagicClassMethodTypeRector/Source"
93+
"rules-tests/Renaming/Rector/Name/RenameClassRector/Source"
9594
],
9695
"files": [
9796
"tests/debug_functions.php",

rules-tests/TypeDeclaration/Rector/ClassMethod/KnownMagicClassMethodTypeRector/Fixture/with_other_method_from_parent.php.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Fixture;
44

5-
use Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Source\ParentClassWithOtherMethod;
5+
use Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Source\ParentClassOtherMethod;
66

7-
final class WithOtherMethodFromParent extends ParentClassWithOtherMethod
7+
final class WithOtherMethodFromParent extends ParentClassOtherMethod
88
{
99
public function __invoke()
1010
{
@@ -21,9 +21,9 @@ final class WithOtherMethodFromParent extends ParentClassWithOtherMethod
2121

2222
namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Fixture;
2323

24-
use Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Source\ParentClassWithOtherMethod;
24+
use Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Source\ParentClassOtherMethod;
2525

26-
final class WithOtherMethodFromParent extends ParentClassWithOtherMethod
26+
final class WithOtherMethodFromParent extends ParentClassOtherMethod
2727
{
2828
public function __invoke()
2929
{

rules-tests/TypeDeclaration/Rector/ClassMethod/KnownMagicClassMethodTypeRector/Source/ParentClassOtherMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\KnownMagicClassMethodTypeRector\Source;
44

5-
abstract class ParentClassWithOtherMethod
5+
abstract class ParentClassOtherMethod
66
{
77
public function __invoke()
88
{

0 commit comments

Comments
 (0)