moay/loxberry-php-core

View on GitHub
src/Logging/LoggerFactory.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method __invoke has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        string $logName,
        string $packageName,
        ?string $fileName = null,
        bool $writeToFile = true,
        bool $writeToStdErr = false,
Severity: Minor
Found in src/Logging/LoggerFactory.php - About 45 mins to fix

    Method create has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            string $logName,
            string $packageName,
            ?string $fileName = null,
            bool $writeToFile = true,
            bool $writeToStdErr = false,
    Severity: Minor
    Found in src/Logging/LoggerFactory.php - About 45 mins to fix

      Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              LogFileDatabaseFactory $databaseFactory,
              LowLevelExecutor $lowLevelExecutor,
              PathProvider $pathProvider,
              SystemConfigurationParser $systemConfiguration,
              PluginDatabase $pluginDatabase
      Severity: Minor
      Found in src/Logging/LoggerFactory.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status