symfony-doge/veslo

View on GitHub
src/AppBundle/DependencyInjection/Configuration.php

Summary

Maintainability
B
5 hrs
Test Coverage

Method getConfigTreeBuilder has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode    = $treeBuilder->root('veslo_app');

Severity: Major
Found in src/AppBundle/DependencyInjection/Configuration.php - About 2 hrs to fix

    Method getHttpProxyNode has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function getHttpProxyNode(): ArrayNodeDefinition
        {
            $treeBuilder = new TreeBuilder();
            $node        = $treeBuilder->root('proxy');
    
    
    Severity: Minor
    Found in src/AppBundle/DependencyInjection/Configuration.php - About 1 hr to fix

      Method getAmqpClientNode has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function getAmqpClientNode(): ArrayNodeDefinition
          {
              $treeBuilder = new TreeBuilder();
              $node        = $treeBuilder->root('amqp_client');
      
      
      Severity: Minor
      Found in src/AppBundle/DependencyInjection/Configuration.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status