phug-php/renderer

View on GitHub
Renderer/Adapter/FileAdapter.php

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

File FileAdapter.php has 253 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
 
namespace Phug\Renderer\Adapter;
 
use Phug\Compiler\LocatorInterface;
Severity: Minor
Found in Renderer/Adapter/FileAdapter.php - About 2 hrs to fix

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

    public function displayCached($path, $input, callable $rendered, array $variables, &$success = null)
    Severity: Minor
    Found in Renderer/Adapter/FileAdapter.php - About 35 mins to fix
      Category
      Status