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

View on GitHub

Showing 529 of 529 total issues

Opening brace should be on a new line
Open

    public function __construct(protected PropertyValidatorInterface $validator, protected int $priority) {}
Severity: Minor
Found in src/Model/Validator.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

}

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected string $description = '',

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected Schema $schema,

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        $property->getType() ? $property->getType()->getName() : '',

Closing brace must be on a line by itself
Open

    public function __construct(private PropertyInterface $property) {}

Closing brace must be on a line by itself
Open

    public function __construct(protected PropertyInterface $nestedProperty) {}

Closing brace must be on a line by itself
Open

    public function __construct(protected PropertyInterface $nestedProperty) {}

Closing brace must be on a line by itself
Open

    ) {}

Line indented incorrectly; expected 4 spaces, found 12
Open

            default

Line indented incorrectly; expected 4 spaces, found 8
Open

        protected string $key,

Line indented incorrectly; expected 8 spaces, found 12
Open

            },
Severity: Minor
Found in src/Model/Schema.php by phpcodesniffer

Closing brace must be on a line by itself
Open

    ) {}

Expected 0 spaces before closing bracket; newline found
Open

            $property->filterValidators(static fn(Validator $validator): bool =>

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                dirname(str_replace('\\', DIRECTORY_SEPARATOR, InvalidComposedValueException::class)),

Multi-line function call not indented correctly; expected 8 spaces but found 12
Open

            ) . '\\' . str_replace(

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

Line indented incorrectly; expected 12 spaces, found 16
Open

                private ExtractedMethodValidator $validator,

Line indented incorrectly; expected 8 spaces, found 32
Open

                                static fn(string $type): string =>

Expected 0 spaces before closing bracket; newline found
Open

            ->filterValidators(static fn(Validator $validator): bool =>
Severity
Category
Status
Source
Language