$registeredListener->
globalListenerDisabled();
$registeredLocally = true;
break;
} } if (isset($this->arguments
['configuration'
])) { $configuration =
$this->arguments
['configuration'
];
if (!
$configuration instanceof Configuration
) { $configuration = Configuration::
getInstance($this->arguments
['configuration'
]);
} foreach ($configuration->
getListenerConfiguration() as $registeredListener) { if ('Symfony\Bridge\PhpUnit\SymfonyTestsListener' ===
ltrim($registeredListener['class'
], '\\'
)) { $registeredLocally = true;
break;
} } } if (!
$registeredLocally) { $this->arguments
['listeners'
][] =
new SymfonyTestsListener();
}