phplrt/phplrt

View on GitHub

Showing 408 of 408 total issues

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $name = self::EOI_NAME,

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function withoutStrictTypes(): self

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 8
Open

        if ($this->strict) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly OutputInterface $output = new ConsoleOutput(),

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $value,

Closing brace must be on a line by itself
Open

interface PreferContentReadingInterface {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ReaderInterface $printer = new Reader(),

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly SourceFactoryInterface $sources = new SourceFactory(),

Line indented incorrectly; expected 0 spaces, found 8
Open

        private readonly PrinterInterface $printer = new PhpPrinter(),

Line indented incorrectly; expected 4 spaces, found 8
Open

        public Statement $statement,

Line indented incorrectly; expected 8 spaces, found 12
Open

            default => $rule::class,

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function withClassUsage(string $class, string $alias = null): self

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function generate(): string

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly string $unknown,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly \Closure $handler,

Space before opening parenthesis of function call prohibited
Open

        return match (true) {

Line indented incorrectly; expected 4 spaces, found 8
Open

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

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly string $value,
Severity
Category
Status
Source
Language