phug-php/lexer

View on GitHub
Lexer.php

Summary

Maintainability
A
1 hr
Test Coverage

Method lex has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function lex($input, $path = null)
    {
        $stateClassName = $this->getOption('lexer_state_class_name');
        $lexEvent = new LexEvent($input, $path, $stateClassName, [
            'encoding'                 => $this->getOption('encoding'),
Severity: Minor
Found in Lexer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status