phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

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

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string|int $name,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ChannelInterface $channel = Channel::DEFAULT,

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 4 spaces, found 8
Open

        public ?string $code,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly string $pattern,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly bool $debug,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $options = [],
Severity: Minor
Found in libs/parser/src/Parser.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Closing brace must be on a line by itself
Open

    public function __construct(private bool $inline = true) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        public string $value,

Line indented incorrectly; expected 8 spaces, found 12
Open

            default => $this->printNonDefaultToken($token),

Closing brace must be on a line by itself
Open

    \Countable {}

Closing brace must be on a line by itself
Open

    ) {}

Space before opening parenthesis of function call prohibited
Open

        return match ($token->getChannel()) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly array $aliases,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $modifiers = Compiler::DEFAULT_MODIFIERS,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $unknown = Lexer::DEFAULT_UNKNOWN_TOKEN_NAME,
Severity
Category
Status
Source
Language