-
-
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.
- Loading branch information
1 parent
dc1c2c7
commit 2300f3e
Showing
14 changed files
with
90 additions
and
323 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
160 changes: 0 additions & 160 deletions
160
packages/NodeCollector/NodeCollector/ParsedClassConstFetchNodeCollector.php
This file was deleted.
Oops, something went wrong.
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
...ctor/ClassConst/RemoveUnusedPrivateClassConstantRector/Fixture/skip_used_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,13 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\DeadCode\Rector\ClassConst\RemoveUnusedPrivateClassConstantRector\Fixture; | ||
|
||
final class SkipUsedConstant | ||
{ | ||
private const SOME_CONST = 'dead'; | ||
|
||
public function run() | ||
{ | ||
return self::SOME_CONST; | ||
} | ||
} |
8 changes: 0 additions & 8 deletions
8
...r/ClassConst/RemoveUnusedPrivateClassConstantRector/FixtureOpenSource/skip_public.php.inc
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
...eadCode/Rector/ClassConst/RemoveUnusedPrivateClassConstantRector/OpenSourceRectorTest.php
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...e/Rector/ClassConst/RemoveUnusedPrivateClassConstantRector/config/project_open_source.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.