railt/compiler

View on GitHub
src/Compiler/Grammar/Parser.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method bootGrammar has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function bootGrammar(): GrammarInterface
    {
        return new Grammar([
            new Repetition(0, 0, -1, '__definition', null),
            (new Concatenation('Grammar', [0], 'Grammar'))->setDefaultId('Grammar'),
Severity: Major
Found in src/Compiler/Grammar/Parser.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status