Skip to content

Commit 7203f3a

Browse files
committed
remove unused reportLoadedComposerBasedSets()
1 parent e0c8f1d commit 7203f3a

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

‎src/Console/Command/ProcessCommand.php‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Rector\Configuration\ConfigurationFactory;
1313
use Rector\Configuration\ConfigurationRuleFilter;
1414
use Rector\Configuration\Option;
15-
use Rector\Configuration\Parameter\SimpleParameterProvider;
1615
use Rector\Console\ExitCode;
1716
use Rector\Console\Output\OutputFormatterCollector;
1817
use Rector\Console\ProcessConfigureDecorator;
@@ -163,11 +162,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
163162
$this->additionalAutoloader->autoloadPaths();
164163
}
165164

166-
// show debug info
167-
if ($configuration->isDebug()) {
168-
$this->reportLoadedComposerBasedSets();
169-
}
170-
171165
// MAIN PHASE
172166
// 2. run Rector
173167
$processResult = $this->applicationFileProcessor->run($configuration, $input);
@@ -247,21 +241,6 @@ private function resolveReturnCode(ProcessResult $processResult, Configuration $
247241
return ExitCode::SUCCESS;
248242
}
249243

250-
private function reportLoadedComposerBasedSets(): void
251-
{
252-
if (! SimpleParameterProvider::hasParameter(Option::COMPOSER_BASED_SETS)) {
253-
return;
254-
}
255-
256-
$composerBasedSets = SimpleParameterProvider::provideArrayParameter(Option::COMPOSER_BASED_SETS);
257-
if ($composerBasedSets === []) {
258-
return;
259-
}
260-
261-
$this->symfonyStyle->writeln('[info] Sets loaded based on installed packages:');
262-
$this->symfonyStyle->listing($composerBasedSets);
263-
}
264-
265244
private function reportLevelOverflow(LevelOverflow $levelOverflow): void
266245
{
267246
$suggestedSetMethod = PHP_VERSION_ID >= 80000 ? sprintf(

0 commit comments

Comments
 (0)