phplib/Target/Slack.php

Summary

Maintainability
A
1 hr
Test Coverage

Method process has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function process(Alert $alert, $date) {
        $scfg = Config::get('slack');
        if(is_null($scfg['webhook_url'])) {
            throw new TargetException('Slack not configured');
        }
Severity: Minor
Found in phplib/Target/Slack.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status