phug-php/parser

View on GitHub
Parser/TokenHandler/BlockTokenHandler.php

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 4 locations. Consider refactoring.
Open

<?php
 
namespace Phug\Parser\TokenHandler;
 
use Phug\Lexer\Token\BlockToken;
Severity: Major
Found in Parser/TokenHandler/BlockTokenHandler.php and 3 other locations - About 35 mins to fix
Parser/TokenHandler/ConditionalTokenHandler.php on lines 1..21
Parser/TokenHandler/KeywordTokenHandler.php on lines 1..21
Parser/TokenHandler/WhenTokenHandler.php on lines 1..21

There are no issues that match your filters.

Category
Status