phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $unknown = Lexer::DEFAULT_UNKNOWN_TOKEN_NAME,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly PipelineInterface $pipeline = new Pipeline(),
Severity: Minor
Found in libs/parser/src/Parser.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    private bool $strict = true;

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly int $offset = 0,

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 string $value,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly int $offset = 0,

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected CompilerContext $analyzer,

Line indented incorrectly; expected 0 spaces, found 8
Open

        private readonly PrinterInterface $printer = new PhpPrinter(),

Closing brace must be on a line by itself
Open

interface GrammarInterface extends ParserInterface {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        public Statement $statement,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly array $aliases,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly bool $debug,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $delimiter = self::DEFAULT_DELIMITER,

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 8 spaces, found 12
Open

            default => \get_debug_type($result),

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $name = self::UNKNOWN_NAME,

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function generate(): string
Severity
Category
Status
Source
Language