-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d36e2a2
commit 8db44af
Showing
7 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
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
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
13 changes: 13 additions & 0 deletions
13
tests/PhpParser/ClassConstantFetchFinder/Fixture/Skip/SomeEnum.php
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,13 @@ | ||
<?php | ||
|
||
namespace Rector\SwissKnife\Tests\PhpParser\ClassConstantFetchFinder\Fixture\Skip; | ||
|
||
enum SomeEnum | ||
{ | ||
public const VALUE = 1000; | ||
|
||
public function run() | ||
{ | ||
return self::VALUE; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/PhpParser/ClassConstantFetchFinder/Fixture/Skip/SomeInterface.php
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,10 @@ | ||
<?php | ||
|
||
namespace Rector\SwissKnife\Tests\PhpParser\ClassConstantFetchFinder\Fixture\Skip; | ||
|
||
interface SomeInterface | ||
{ | ||
public const VALUE = 1000; | ||
|
||
public function go($input = self::VALUE); | ||
} |
13 changes: 13 additions & 0 deletions
13
tests/PhpParser/ClassConstantFetchFinder/Fixture/Skip/SomeTrait.php
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,13 @@ | ||
<?php | ||
|
||
namespace Rector\SwissKnife\Tests\PhpParser\ClassConstantFetchFinder\Fixture\Skip; | ||
|
||
trait SomeTrait | ||
{ | ||
public const VALUE = 1000; | ||
|
||
public function run() | ||
{ | ||
return self::VALUE; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...nder/Fixture/AnotherClassWithConstant.php → ...ure/Standard/AnotherClassWithConstant.php
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
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