phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Closing brace must be on a line by itself
Open

abstract class Rule implements RuleInterface {}

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

Closing brace must be on a line by itself
Open

    ) {}

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

        };

Line indented incorrectly; expected 0 spaces, found 4
Open

    case RETURN;

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly BufferInterface $buffer,
Severity: Minor
Found in libs/parser/src/Context.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    case SKIP;

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 0 spaces, found 4
Open

    case RETURN;

Closing brace must be on a line by itself
Open

interface RuleInterface {}

Line indented incorrectly; expected 4 spaces, found 8
Open

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

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly bool $keep,

Closing brace must be on a line by itself
Open

class BadMethodException extends VisitorException {}

Line indented incorrectly; expected 0 spaces, found 4
Open

    case SKIP;

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected readonly string $code,

Line indented incorrectly; expected 0 spaces, found 4
Open

    private const CODE_INJECTIONS = [

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $selectors = [

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly int|string $rule,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $skip = [],
Severity: Minor
Found in libs/lexer/src/Lexer.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly array $transitions = [],
Severity
Category
Status
Source
Language