phug-php/renderer

View on GitHub
Renderer/Partial/AdapterTrait.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method callAdapter has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function callAdapter($method, $path, $input, callable $getSource, array $parameters)
    {
        $source = '';

        $this->getCompiler()->reset();
Severity: Minor
Found in Renderer/Partial/AdapterTrait.php - About 1 hr to fix

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

        private function getSandboxCall(&$source, $method, $path, $input, callable $getSource, array $parameters)
    Severity: Minor
    Found in Renderer/Partial/AdapterTrait.php - About 45 mins to fix

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

          public function callAdapter($method, $path, $input, callable $getSource, array $parameters)
      Severity: Minor
      Found in Renderer/Partial/AdapterTrait.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status