phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $tokens,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Closing brace must be on a line by itself
Open

    ) {}
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public int|string $state,
Severity: Minor
Found in libs/parser/src/Context.php by phpcodesniffer

Closing brace must be on a line by itself
Open

abstract class Production extends Rule implements ProductionInterface {}

Closing brace must be on a line by itself
Open

class AttributeException extends VisitorException {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected readonly RuleInterface $rule,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ReadableInterface $source,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly int|string $token,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly int $from = 0,

Line indented incorrectly; expected at least 4 spaces, found 0
Open

}

Closing brace must be on a line by itself
Open

class BrokenTreeException extends \InvalidArgumentException {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly LexerInterface $lexer,
Severity: Minor
Found in libs/lexer/src/Decorator.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getName(): string

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly TokenInterface $token,

Line indented incorrectly; expected at least 4 spaces, found 0
Open

}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $eoi = Lexer::DEFAULT_EOI_TOKEN_NAME,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    case RETURN;

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $wrapAtEnd = self::DEFAULT_WRAP,
Severity
Category
Status
Source
Language