phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        public array $children,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly string $lineDelimiter = "\n",

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function print(PrinterInterface $printer): string

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

interface ParserExceptionInterface extends \Throwable {}

Line indented incorrectly; expected 8 spaces, found 12
Open

            default => throw UnrecognizedTokenException::fromToken($source, $token)

Closing brace must be on a line by itself
Open

class VisitorException extends \LogicException {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ReadableInterface $source,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private HandlerInterface $onUnknownToken = OnUnknownToken::THROW,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $states = [],

Line indented incorrectly; expected 0 spaces, found 4
Open

    case THROW;

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ReadableInterface $source,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private HandlerInterface $onHiddenToken = OnHiddenToken::SKIP,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private HandlerInterface $onEndOfInput = OnEndOfInput::RETURN,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 0 spaces, found 4
Open

    private const TPL_CODE_INJECTION = '// The "%s" variable is an auto-generated';

Closing brace must be on a line by itself
Open

interface BufferExceptionInterface extends ParserExceptionInterface {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly int|string $rule,
Severity
Category
Status
Source
Language