Skip to content

Commit d867196

Browse files
committed
add more tests
1 parent 50b38a8 commit d867196

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
namespace Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\Fixture;
4+
5+
use Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\Source\SomeTrait;
6+
7+
final class RenameMethodWhichIsNotInTrait
8+
{
9+
use SomeTrait;
10+
11+
public function _otherMethod()
12+
{
13+
}
14+
}
15+
16+
?>
17+
-----
18+
<?php
19+
20+
namespace Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\Fixture;
21+
22+
use Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\Source\SomeTrait;
23+
24+
final class RenameMethodWhichIsNotInTrait
25+
{
26+
use SomeTrait;
27+
28+
public function _otherMethod()
29+
{
30+
}
31+
}
32+
33+
?>

0 commit comments

Comments
 (0)