-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DX] Cleanup of text file processor, unused MultipleFilesChangedTrait…
… and misc (#2861)
- Loading branch information
1 parent
cf65fca
commit bb3ced4
Showing
16 changed files
with
14 additions
and
426 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
116 changes: 0 additions & 116 deletions
116
packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.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
14 changes: 14 additions & 0 deletions
14
...tests/DeadCode/Rector/Foreach_/RemoveUnusedForeachKeyRector/Fixture/skip_used_key.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,14 @@ | ||
<?php | ||
|
||
namespace Rector\Tests\DeadCode\Rector\Foreach_\RemoveUnusedForeachKeyRector\Fixture; | ||
|
||
final class SkipUsedKey | ||
{ | ||
public function run() | ||
{ | ||
$items = []; | ||
foreach ($items as $key => $value) { | ||
$result = $key; | ||
} | ||
} | ||
} |
46 changes: 0 additions & 46 deletions
46
tests/Application/ApplicationFileProcessor/ApplicationFileProcessorTest.php
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
tests/Application/ApplicationFileProcessor/Fixture/bar_stays_bar.txt
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
tests/Application/ApplicationFileProcessor/Fixture/foo_to_bar.txt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
tests/Application/ApplicationFileProcessor/Source/Contract/TextRectorInterface.php
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
tests/Application/ApplicationFileProcessor/Source/Rector/ChangeTextRector.php
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
tests/Application/ApplicationFileProcessor/Source/TextFileProcessor.php
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
tests/Application/ApplicationFileProcessor/config/configured_rule.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.