Skip to content

Commit 44fd73f

Browse files
Move to source folder
1 parent 3fa22e2 commit 44fd73f

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

rules-tests/CodeQuality/Rector/FuncCall/SortNamedParamRector/Fixture/attribute.php.inc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22

33
namespace Rector\Tests\CodeQuality\Rector\FuncCall\SortNamedParamRector\Fixture;
44

5-
#[\Attribute]
6-
class MyAttribute
7-
{
8-
public function __construct($foo = null, $bar = null, $baz = null)
9-
{
10-
}
11-
}
5+
use Rector\Tests\CodeQuality\Rector\FuncCall\SortNamedParamRector\Source\MyAttribute;
126

137
#[MyAttribute(bar: 1, foo: 2)]
148
#[MyAttribute(1, baz: 2, bar: 3)]
@@ -22,13 +16,7 @@ class Test
2216

2317
namespace Rector\Tests\CodeQuality\Rector\FuncCall\SortNamedParamRector\Fixture;
2418

25-
#[\Attribute]
26-
class MyAttribute
27-
{
28-
public function __construct($foo = null, $bar = null, $baz = null)
29-
{
30-
}
31-
}
19+
use Rector\Tests\CodeQuality\Rector\FuncCall\SortNamedParamRector\Source\MyAttribute;
3220

3321
#[MyAttribute(foo: 2, bar: 1)]
3422
#[MyAttribute(1, bar: 3, baz: 2)]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodeQuality\Rector\FuncCall\SortNamedParamRector\Source;
4+
5+
#[\Attribute]
6+
class MyAttribute
7+
{
8+
public function __construct($foo = null, $bar = null, $baz = null)
9+
{
10+
}
11+
}

0 commit comments

Comments
 (0)