Skip to content

fix deleting file that matches class name#1471

Merged
TomasVotruba merged 1 commit intomasterfrom
multi-fix
May 24, 2019
Merged

fix deleting file that matches class name#1471
TomasVotruba merged 1 commit intomasterfrom
multi-fix

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

Closes #1467

Note: the MultipleClassFileToPsr4ClassesRector now only works if there are 2+ classes. It doesn't rename the file itself. It should be work of another rector, that only hooks to ClassLike

@TomasVotruba TomasVotruba merged commit 8563fae into master May 24, 2019
@TomasVotruba TomasVotruba deleted the multi-fix branch May 24, 2019 14:51
TomasVotruba added a commit that referenced this pull request Dec 27, 2021
rectorphp/rector-src@602aa13 [Transform]Move ReservedFnFunctionRector to Php74 namespace (#1471)
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.

[MultipleClassFileToPsr4ClassesRector] Original file is deleted and it should not be if it contains class matching filename

1 participant