projek-xyz/slim-framework

View on GitHub
src/Logger.php

Summary

Maintainability
A
45 mins
Test Coverage

Showing 1 of 1 total issue

Function __construct has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

public function __construct($name = 'slim-config', array $settings = [])
{
$this->name = $name;
$this->monolog = new Monolog($this->name);
$this->settings = array_merge($this->settings, $settings);
Severity: Minor
Found in src/Logger.php - About 45 mins to fix

There are no issues that match your filters.

Category
Status