mimmi20/monolog-factory

View on GitHub
src/ConfigProvider.php

Summary

Maintainability
C
7 hrs
Test Coverage
A
100%

Method getMonologHandlerConfig has 116 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getMonologHandlerConfig(): array
    {
        return [
            'aliases' => [
                'amqp' => AmqpHandler::class,
Severity: Major
Found in src/ConfigProvider.php - About 4 hrs to fix

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

        public function getMonologFormatterConfig(): array
        {
            return [
                'aliases' => [
                    'chromePHP' => ChromePHPFormatter::class,
    Severity: Minor
    Found in src/ConfigProvider.php - About 1 hr to fix

      Method getMonologProcessorConfig has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function getMonologProcessorConfig(): array
          {
              return [
                  'aliases' => [
                      'git' => GitProcessor::class,
      Severity: Minor
      Found in src/ConfigProvider.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status