GetDKAN/pdlt

View on GitHub

Showing 1 of 1 total issue

Function lex has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
Open

protected function lex(string $input_format): array {
// Initialize our grammar reference, AST, and local DB output format string.
$grammar_ptr = &$this->grammar;
$syntax = [];
$literal = '';
Severity: Minor
Found in src/Parser.php - About 1 hr to fix
Severity
Category
Status
Source
Language