Skip to content

Commit aba25a9

Browse files
authored
Update fixture class name (#7633)
* Update fixture class name * Update fixture class name
1 parent 7d487e1 commit aba25a9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

rules-tests/CodingStyle/Rector/FuncCall/ClosureFromCallableToFirstClassCallableRector/Fixture/supports_static_self_call.php.inc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22

3-
class Foo
3+
namespace Rector\Tests\CodingStyle\Rector\FuncCall\ClosureFromCallableToFirstClassCallableRector\Fixture;
4+
5+
class SupportStaticSelfCall
46
{
57
public static function bar(): void
68
{
7-
set_exception_handler(Closure::fromCallable([self::class, 'baz']));
9+
set_exception_handler(\Closure::fromCallable([self::class, 'baz']));
810
}
911

1012
public static function baz(): void
@@ -16,7 +18,9 @@ class Foo
1618
-----
1719
<?php
1820

19-
class Foo
21+
namespace Rector\Tests\CodingStyle\Rector\FuncCall\ClosureFromCallableToFirstClassCallableRector\Fixture;
22+
23+
class SupportStaticSelfCall
2024
{
2125
public static function bar(): void
2226
{

0 commit comments

Comments
 (0)