Skip to content

[Renaming] Add RenameFuncCallToStaticCallRector#2849

Merged
TomasVotruba merged 3 commits intomasterfrom
core-func-to-static-call
Feb 13, 2020
Merged

[Renaming] Add RenameFuncCallToStaticCallRector#2849
TomasVotruba merged 3 commits intomasterfrom
core-func-to-static-call

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

Ref #2848

@alfredbez
Copy link
Copy Markdown
Contributor

This would allow something like this if I understand this right:

# config/set/oxid/oxid60.yaml
services:
    Rector\Renaming\Rector\FuncCall\RenameFuncCallToStaticCallRector:
        $functionsToStaticCalls:
            getStr:
                'OxidEsales\Eshop\Core\Str': 'getStr'

@TomasVotruba
Copy link
Copy Markdown
Member Author

Yes. We should have this months ago

@TomasVotruba TomasVotruba force-pushed the core-func-to-static-call branch from 65eb7d8 to 4eba747 Compare February 13, 2020 16:09
@TomasVotruba TomasVotruba force-pushed the core-func-to-static-call branch from 4eba747 to c55c8d9 Compare February 13, 2020 16:10
@TomasVotruba TomasVotruba force-pushed the core-func-to-static-call branch from c55c8d9 to 42c5141 Compare February 13, 2020 16:12
@TomasVotruba TomasVotruba force-pushed the core-func-to-static-call branch from b8f46cc to e564834 Compare February 13, 2020 16:16
@TomasVotruba TomasVotruba merged commit fee94b8 into master Feb 13, 2020
@TomasVotruba TomasVotruba deleted the core-func-to-static-call branch February 13, 2020 21:44
TomasVotruba added a commit that referenced this pull request Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants