-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove removeNode() from RemoveDeadReturnRector, merge RemoveLastRetu…
…rnRector to RemoveDeadReturnRector (#4085)
- Loading branch information
1 parent
cdc9e6b
commit 2dccbb6
Showing
15 changed files
with
44 additions
and
317 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
30 changes: 0 additions & 30 deletions
30
rules-tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/Fixture/in_closure.php.inc
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
rules-tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/Fixture/in_function.php.inc
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/Fixture/in_inner_closure.php.inc
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
rules-tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/Fixture/skip_loop.php.inc
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...s/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/Fixture/skip_not_last_return.php.inc
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...s-tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/RemoveLastReturnRectorTest.php
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
rules-tests/DeadCode/Rector/ClassMethod/RemoveLastReturnRector/config/configured_rule.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
2 changes: 1 addition & 1 deletion
2
...nRector/Fixture/skip_return_value.php.inc → ...nRector/Fixture/skip_return_value.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
93 changes: 0 additions & 93 deletions
93
rules/DeadCode/Rector/ClassMethod/RemoveLastReturnRector.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.