|
12 | 12 | use Rector\Configuration\ConfigurationFactory; |
13 | 13 | use Rector\Configuration\ConfigurationRuleFilter; |
14 | 14 | use Rector\Configuration\Option; |
15 | | -use Rector\Configuration\Parameter\SimpleParameterProvider; |
16 | 15 | use Rector\Console\ExitCode; |
17 | 16 | use Rector\Console\Output\OutputFormatterCollector; |
18 | 17 | use Rector\Console\ProcessConfigureDecorator; |
@@ -163,11 +162,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int |
163 | 162 | $this->additionalAutoloader->autoloadPaths(); |
164 | 163 | } |
165 | 164 |
|
166 | | - // show debug info |
167 | | - if ($configuration->isDebug()) { |
168 | | - $this->reportLoadedComposerBasedSets(); |
169 | | - } |
170 | | - |
171 | 165 | // MAIN PHASE |
172 | 166 | // 2. run Rector |
173 | 167 | $processResult = $this->applicationFileProcessor->run($configuration, $input); |
@@ -247,21 +241,6 @@ private function resolveReturnCode(ProcessResult $processResult, Configuration $ |
247 | 241 | return ExitCode::SUCCESS; |
248 | 242 | } |
249 | 243 |
|
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 | | - |
265 | 244 | private function reportLevelOverflow(LevelOverflow $levelOverflow): void |
266 | 245 | { |
267 | 246 | $suggestedSetMethod = PHP_VERSION_ID >= 80000 ? sprintf( |
|
0 commit comments