tacnoman/thumcno

View on GitHub
src/Tacnoman/Logger.php

Summary

Maintainability
A
2 hrs
Test Coverage

Avoid too many return statements within this method.
Open

        return LogLevel::ERROR;
Severity: Major
Found in src/Tacnoman/Logger.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                case 5: return LogLevel::WARNING;
    Severity: Major
    Found in src/Tacnoman/Logger.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  case 6: return LogLevel::NOTICE;
      Severity: Major
      Found in src/Tacnoman/Logger.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    case 8: return LogLevel::DEBUG;
        Severity: Major
        Found in src/Tacnoman/Logger.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      case 7: return LogLevel::INFO;
          Severity: Major
          Found in src/Tacnoman/Logger.php - About 30 mins to fix

            There are no issues that match your filters.

            Category
            Status