wol-soft/php-json-schema-model-generator

View on GitHub
src/Model/RenderJob.php

Summary

Maintainability
A
0 mins
Test Coverage
A
94%

syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open

        protected string $fileName,
Severity: Critical
Found in src/Model/RenderJob.php by phan

Only one argument is allowed per line in a multi-line function call
Open

                        static fn($validator): bool => !is_a($validator, AbstractComposedPropertyValidator::class),
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected Schema $schema,
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Expected 0 spaces before closing bracket; newline found
Open

        $use = array_filter($use, static fn($classPath): bool =>
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected string $className,
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected string $classPath,
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Closing brace must be on a line by itself
Open

    ) {}
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected string $fileName,
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 24
Open

                        static fn($validator): bool => !is_a($validator, AbstractComposedPropertyValidator::class),
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

There are no issues that match your filters.

Category
Status