Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Commit cbeac85

Browse files
committed
Update README.md
1 parent f2bd324 commit cbeac85

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ all the occurrences in the selected method to use the instance variable:
7878

7979
php refactor.phar convert-local-to-instance-variable <file> <line> <variable>
8080

81+
### Rename Class and Namespaces
82+
83+
Batch Operation to rename classes and namespaces by syncing class-names (IS-state)
84+
to filesystem names (SHOULD-state) based on the assumption of PSR-0.
85+
86+
Fix class and namespace names to correspond to the current filesystem layout,
87+
given that the project uses PSR-0. This means you can use this tool to
88+
rename classes and namespaces by renaming folders and files and then applying
89+
the command to fix class and namespaces.
90+
91+
php refactor.phar fix-class-names <dir>
92+
8193
## Roadmap
8294

8395
Not prioritized.

src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/ExtractMethodCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ protected function configure()
4646
This refactoring is usually used during cleanup of code into
4747
single units.
4848
49+
This refactoring automatically detects all necessary inputs and outputs from the
50+
function and generates the argument list and return statement accordingly.
51+
4952
<comment>Operations:</comment>
5053
5154
1. Create a new method containing the selected code.

0 commit comments

Comments
 (0)