File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
rules-tests/Renaming/Rector/MethodCall/RenameMethodRector Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 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+ ?>
Original file line number Diff line number Diff line change 66use Rector \Renaming \Rector \MethodCall \RenameMethodRector ;
77use Rector \Renaming \ValueObject \MethodCallRename ;
88use Rector \Renaming \ValueObject \MethodCallRenameWithArrayKey ;
9+ use Rector \Tests \Renaming \Rector \MethodCall \RenameMethodRector \Fixture \RenameMethodWhichIsNotInTrait ;
910use Rector \Tests \Renaming \Rector \MethodCall \RenameMethodRector \Source \AbstractType ;
1011use Rector \Tests \Renaming \Rector \MethodCall \RenameMethodRector \Source \CustomType ;
1112use Rector \Tests \Renaming \Rector \MethodCall \RenameMethodRector \Source \DifferentInterface ;
You can’t perform that action at this time.
0 commit comments