class CommandForV9 extends BaseCommand
{ protected function createRunner(): BaseRunner
{ $this->arguments
['listeners'
] ??
$this->arguments
['listeners'
] =
[];
$registeredLocally = false;
foreach ($this->arguments
['listeners'
] as $registeredListener) { if ($registeredListener instanceof SymfonyTestsListener
) { $registeredListener->
globalListenerDisabled();
$registeredLocally = true;
break;
} } if (isset($this->arguments
['configuration'
])) { $configuration =
$this->arguments
['configuration'
];
if (!
class_exists(Configuration::
class) && !
$configuration instanceof LegacyConfiguration
) { $configuration = Registry::
getInstance()->
get($this->arguments
['configuration'
]);
} elseif (class_exists(Configuration::
class) && !
$configuration instanceof Configuration
) {