VSCode extension for renaming PHP methods across the entire codebase.
Usage
- Place cursor on a method name or select it
- Press Ctrl+F2 (Cmd+F2 on Mac)
- Enter the new method name
- Review found references and confirm
What it finds
function methodName(— declarations->methodName(— instance calls::methodName(— static calls${ methodName }— dynamic calls'...methodName...'— string references
Configuration
{
"phpRefactor.searchInFiles": ["**/*.php"],
"phpRefactor.excludeFolders": ["vendor", "node_modules", ".git"]
}