Skip to content

Commit

Permalink
Fix test error Call to undefined method Rector\Config\RectorConfig::d…
Browse files Browse the repository at this point in the history
…isableImportNames() (#3147)
  • Loading branch information
samsonasik committed Dec 3, 2022
1 parent d670b4e commit e8a252f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

return static function (RectorConfig $rectorConfig): void {
$services = $rectorConfig->services();
$rectorConfig->disableImportNames();
$rectorConfig->importNames(false, false);
$rectorConfig->rule(NormalizeNamespaceByPSR4ComposerAutoloadRector::class);

$services->set(DummyPSR4AutoloadWithoutNamespaceMatcher::class);
Expand Down

0 comments on commit e8a252f

Please sign in to comment.