phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly array $sequence,

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $visitors = [],

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

    {

Closing brace must be on a line by itself
Open

    ) {}

Closing brace must be on a line by itself
Open

    ) {}

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

}

Closing brace must be on a line by itself
Open

abstract class Statement extends Node {}

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly int $expectedRecursionDepth = self::DEFAULT_EXPECTED_RECURSION_DEPTH,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly CompilerContext $context,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly array $sequence,

Closing brace must be on a line by itself
Open

    final public function __construct(private array $visitors = []) {}

Line indented incorrectly; expected 0 spaces, found 4
Open

    case SKIP;

Space before opening parenthesis of function call prohibited
Open

        return match ($this) {

Closing brace must be on a line by itself
Open

interface MultistateLexerExceptionInterface extends LexerExceptionInterface {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly bool $composite = false,
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $wrapAtStart = self::DEFAULT_WRAP,

Line indented incorrectly; expected 0 spaces, found 4
Open

    private function getCodeBody(Style $style): string

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly int $offset,
Severity
Category
Status
Source
Language