phug-php/phug

View on GitHub
src/Phug/Lexer/Lexer.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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 src/Phug/Lexer/Lexer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status