phplib/Target/Slack.php
Method process
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function process(Alert $alert, $date) {
$scfg = Config::get('slack');
if(is_null($scfg['webhook_url'])) {
throw new TargetException('Slack not configured');
}