-
-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all classlike pseudo rector (#3002)
- Loading branch information
1 parent
56620a9
commit 71ffc80
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...ng/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Fixture/interface.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
interface ChangeMe_FooInterface | ||
{ | ||
public function bar(); | ||
} | ||
----- | ||
<?php | ||
|
||
namespace ChangeMe; | ||
|
||
interface FooInterface | ||
{ | ||
public function bar(); | ||
} |
21 changes: 21 additions & 0 deletions
21
...naming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Fixture/trait.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
trait ChangeMe_BarTrait | ||
{ | ||
public function bar(): bool | ||
{ | ||
return true; | ||
} | ||
} | ||
----- | ||
<?php | ||
|
||
namespace ChangeMe; | ||
|
||
trait BarTrait | ||
{ | ||
public function bar(): bool | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters