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

View on GitHub

Showing 397 of 397 total issues

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

                    $mergedPropertySchema->getJsonSchema(),

Line indented incorrectly; expected 16 spaces, found 20
Open

                    static function (TypeHintDecoratorInterface $decorator) use ($skipDec): bool {

Opening brace should be on a new line
Open

    public function setUpDefinitionDictionary(SchemaProcessor $schemaProcessor, Schema $schema): void {

Line indented incorrectly; expected 16 spaces, found 20
Open

                    },

Line indented incorrectly; expected 8 spaces, found 16
Open

                },

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

Line indented incorrectly; expected 4 spaces, found 12
Open

            default

Closing brace indented incorrectly; expected 4 spaces, found 0
Open

}

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

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

Closing brace must be on a line by itself
Open

            case ['string']: $backedType = 'string'; break;

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (PropertyValidatorInterface $validator): bool {

Line indented incorrectly; expected 12 spaces, found 20
Open

                    static function (Validator $validator): bool {

Line indented incorrectly; expected 12 spaces, found 20
Open

                    },

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

                        // don't validate fields in merged properties. All fields were validated before

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (
Severity: Minor
Found in src/Model/Schema.php by phpcodesniffer

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

            });

Line indented incorrectly; expected 8 spaces, found 12
Open

            },
Severity: Minor
Found in src/Utils/NormalizedName.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

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

            ) . '\\' . str_replace(

Opening parenthesis of a multi-line function call must be the last content on the line
Open

                    return sprintf('
Severity
Category
Status
Source
Language