We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f891bb6 commit d1ff945Copy full SHA for d1ff945
1 file changed
src/PostRector/Application/PostFileProcessor.php
@@ -103,7 +103,7 @@ private function getPostRectors(): array
103
$postRectors = [];
104
105
// sorted by priority, to keep removed imports in order
106
- if ($isRenamedClassEnabled) {
+ if ($isRenamedClassEnabled && $isNameImportingEnabled) {
107
$postRectors[] = $this->classRenamingPostRector;
108
}
109
0 commit comments