Skip to content

Commit d1ff945

Browse files
authored
Fix rector-symfony phpunit (#7772)
1 parent f891bb6 commit d1ff945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostRector/Application/PostFileProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function getPostRectors(): array
103103
$postRectors = [];
104104

105105
// sorted by priority, to keep removed imports in order
106-
if ($isRenamedClassEnabled) {
106+
if ($isRenamedClassEnabled && $isNameImportingEnabled) {
107107
$postRectors[] = $this->classRenamingPostRector;
108108
}
109109

0 commit comments

Comments
 (0)