propelorm/Propel2

View on GitHub
src/Propel/Common/Config/PropelConfiguration.php

Summary

Maintainability
D
1 day
Test Coverage

File PropelConfiguration.php has 346 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

/**
 * MIT License. This file is part of the Propel package.
 * For the full copyright and license information, please view the LICENSE
Severity: Minor
Found in src/Propel/Common/Config/PropelConfiguration.php - About 4 hrs to fix

    Method addDatabaseSection has 104 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function addDatabaseSection(ArrayNodeDefinition $node): void
        {
            $node
                ->children()
                    ->arrayNode('database')
    Severity: Major
    Found in src/Propel/Common/Config/PropelConfiguration.php - About 4 hrs to fix

      Method addGeneratorSection has 72 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function addGeneratorSection(ArrayNodeDefinition $node): void
          {
              $node
                  ->children()
                      ->arrayNode('generator')
      Severity: Major
      Found in src/Propel/Common/Config/PropelConfiguration.php - About 2 hrs to fix

        Method addRuntimeSection has 69 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            protected function addRuntimeSection(ArrayNodeDefinition $node): void
            {
                $node
                    ->children()
                        ->arrayNode('runtime')
        Severity: Major
        Found in src/Propel/Common/Config/PropelConfiguration.php - About 2 hrs to fix

          There are no issues that match your filters.

          Category
          Status