phug-php/formatter

View on GitHub
Formatter/AbstractElement.php

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

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

public function dump()
{
$name = preg_replace('/^Phug\\\\.*\\\\([^\\\\]+)Element$/', '$1', get_class($this));
if (method_exists($this, 'getName')) {
$name .= ': '.$this->getName();
Severity: Minor
Found in Formatter/AbstractElement.php - About 35 mins to fix

There are no issues that match your filters.

Category
Status