TikiWiki/tiki-manager

View on GitHub
src/Command/ReportManagerCommand.php

Summary

Maintainability
B
5 hrs
Test Coverage

Method modify has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function modify($helper, $input, $output)
    {
        $report = new ReportManager;
        $instances = $report->getReportInstances();
        $instancesInfo = CommandHelper::getInstancesInfo($instances);
Severity: Minor
Found in src/Command/ReportManagerCommand.php - About 1 hr to fix

    Method remove has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function remove($helper, $input, $output)
        {
            $report = new ReportManager;
            $instances = $report->getReportInstances();
            $instancesInfo = CommandHelper::getInstancesInfo($instances);
    Severity: Minor
    Found in src/Command/ReportManagerCommand.php - About 1 hr to fix

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

          protected function execute(InputInterface $input, OutputInterface $output)
          {
              $output->writeln('<comment>Note: Only Tiki instances can enable reports.</comment>');
      
              $this->io->newLine();
      Severity: Minor
      Found in src/Command/ReportManagerCommand.php - About 1 hr to fix

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

            private function add($helper, $input, $output)
            {
                $report = new ReportManager;
                $instances = $report->getAvailableInstances();
                $instancesInfo = CommandHelper::getInstancesInfo($instances);
        Severity: Minor
        Found in src/Command/ReportManagerCommand.php - About 1 hr to fix

          Function remove has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
          Open

              private function remove($helper, $input, $output)
              {
                  $report = new ReportManager;
                  $instances = $report->getReportInstances();
                  $instancesInfo = CommandHelper::getInstancesInfo($instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php - About 35 mins to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Function modify has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
          Open

              private function modify($helper, $input, $output)
              {
                  $report = new ReportManager;
                  $instances = $report->getReportInstances();
                  $instancesInfo = CommandHelper::getInstancesInfo($instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php - About 35 mins to fix

          Cognitive Complexity

          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

          A method's cognitive complexity is based on a few simple rules:

          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
          • Code is considered more complex for each "break in the linear flow of the code"
          • Code is considered more complex when "flow breaking structures are nested"

          Further reading

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                  $allInstancesInfo = CommandHelper::getInstancesInfo($allInstances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                          $renderResult = CommandHelper::renderInstancesTable($output, $allInstancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                          return CommandHelper::validateInstanceSelection($answer, $instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                          $question = CommandHelper::getQuestion('Which instances do you want to include in the report', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                  $instancesInfo = CommandHelper::getInstancesInfo($instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                  $allInstances = CommandHelper::getInstances();
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          The method add uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                  } else {
                      $output->writeln('<error>No instances available to add a Report Receiver.</error>');
                  }
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'execute'.
          Open

                  CommandHelper::renderReportOptions($output);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                      $question = CommandHelper::getQuestion('Which instances do you want to report on', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                              return CommandHelper::validateInstanceSelection($answer, $allInstances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                  $instancesInfo = CommandHelper::getInstancesInfo($instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'add'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                                  return CommandHelper::validateInstanceSelection($answer, $allReportCandidates);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                          $allReportCandidatesInfo = CommandHelper::getInstancesInfo($allReportCandidates);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                              $question = CommandHelper::getQuestion('Which instances do you want to include in the report', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                              $question = CommandHelper::getQuestion('Which instances do you want to remove from the report', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                          return CommandHelper::validateInstanceSelection($answer, $instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                      $question = CommandHelper::getQuestion('Which reports do you want to modify', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                              $renderResult = CommandHelper::renderInstancesTable($output, $allReportCandidatesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          The method modify uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                  } else {
                      $output->writeln('<error>No instances available to modfiy a Report Receiver.</error>');
                  }
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                  $instancesInfo = CommandHelper::getInstancesInfo($instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                              $renderResult = CommandHelper::renderInstancesTable($output, $allReportCandidatesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                                  return CommandHelper::validateInstanceSelection($answer, $allReportCandidates);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          The method remove uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
          Open

                  } else {
                      $output->writeln('<error>No instances available to modfiy a Report Receiver.</error>');
                  }
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          ElseExpression

          Since: 1.4.0

          An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

          Example

          class Foo
          {
              public function bar($flag)
              {
                  if ($flag) {
                      // one branch
                  } else {
                      // another branch
                  }
              }
          }

          Source https://phpmd.org/rules/cleancode.html#elseexpression

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                      $question = CommandHelper::getQuestion('Which reports do you want to modify', null, '?');
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'modify'.
          Open

                          $allReportCandidatesInfo = CommandHelper::getInstancesInfo($allReportCandidates);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid using static access to class '\TikiManager\Command\Helper\CommandHelper' in method 'remove'.
          Open

                          return CommandHelper::validateInstanceSelection($answer, $instances);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          StaticAccess

          Since: 1.4.0

          Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

          Example

          class Foo
          {
              public function bar()
              {
                  Bar::baz();
              }
          }

          Source https://phpmd.org/rules/cleancode.html#staticaccess

          Avoid unused local variables such as '$renderResult'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Avoid unused local variables such as '$renderResult'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Avoid unused local variables such as '$renderResult'.
          Open

                      $renderResult = CommandHelper::renderInstancesTable($output, $instancesInfo);
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phpmd

          UnusedLocalVariable

          Since: 0.2

          Detects when a local variable is declared and/or assigned, but not used.

          Example

          class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

          Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

          Possibly zero references to use statement for classlike/namespace App (\TikiManager\Config\App)
          Open

          use TikiManager\Config\App;
          Severity: Minor
          Found in src/Command/ReportManagerCommand.php by phan

          There are no issues that match your filters.

          Category
          Status