/var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception/Coverage/Subscriber
Edit: /var/www/vhosts/nabawater/vendor/codeception/base/src/Codeception/Coverage/Subscriber/Local.php (1138B)
'beforeSuite',
Events::SUITE_AFTER => 'afterSuite',
];
/**
* @var Remote
*/
protected $module;
protected function isEnabled()
{
return $this->module === null and $this->settings['enabled'];
}
public function beforeSuite(SuiteEvent $e)
{
$this->applySettings($e->getSettings());
$this->module = $this->getServerConnectionModule($e->getSuite()->getModules());
if (!$this->isEnabled()) {
return;
}
$this->applyFilter($e->getResult());
}
public function afterSuite(SuiteEvent $e)
{
if (!$this->isEnabled()) {
return;
}
$this->mergeToPrint($e->getResult()->getCodeCoverage());
}
}