This repository was archived by the owner on Jul 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff 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
8395Not prioritized.
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ protected function configure()
4646This refactoring is usually used during cleanup of code into
4747single 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
51541. Create a new method containing the selected code.
You can’t perform that action at this time.
0 commit comments