-
-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CodingStyle] Skip RemoveUnusedAliasRector on used in ClassConstFetch (…
- Loading branch information
1 parent
38e8520
commit 8604151
Showing
2 changed files
with
30 additions
and
4 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
12 changes: 12 additions & 0 deletions
12
...yle/tests/Rector/Use_/RemoveUnusedAliasRector/Fixture/skip_used_in_class_constant.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,12 @@ | ||
<?php | ||
|
||
namespace Rector\CodingStyle\Tests\Rector\Use_\RemoveUnusedAliasRector\Fixture; | ||
|
||
use App\Bar as BarAlias; | ||
|
||
class SkipUsedInClassConstant | ||
{ | ||
private $classMap = [ | ||
BarAlias::class => 'bar', | ||
]; | ||
} |