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

View on GitHub

Showing 397 of 397 total issues

Arguments with default values must be at the end of the argument list
Open

        array $exceptionParams = [],

Arguments with default values must be at the end of the argument list
Open

        array $exceptionParams = [],

Closing brace must be on a line by itself
Open

            case ['integer']: $backedType = 'int'; break;

Opening brace should be on a new line
Open

    public function execute(GeneratorConfiguration $generatorConfiguration, array $postProcessors): void {

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

                ))

Multi-line function call not indented correctly; expected 32 spaces but found 34
Open

                                  )

Line indented incorrectly; expected 8 spaces, found 16
Open

                static function (string $typeHint): string {

Line indented incorrectly; expected 12 spaces, found 16
Open

                if ($propertyHasSchemaDependencyValidator === $comparedPropertyHasSchemaDependencyValidator) {
Severity: Minor
Found in src/Model/Schema.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

Line indented incorrectly; expected 8 spaces, found 16
Open

                static function (PropertyInterface $property): bool {

Line indented incorrectly; expected 8 spaces, found 12
Open

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

Expected 1 newline at end of file; 0 found
Open

}

Line indented incorrectly; expected 12 spaces, found 24
Open

                        static function ($validator): bool {
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 16
Open

                static function (PropertyType $type): string {

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

                        // corresponding to the defined constraints of the composition property.

Line indented incorrectly; expected 8 spaces, found 16
Open

                },

Line indented incorrectly; expected 12 spaces, found 16
Open

                },

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (SchemaHookInterface $hook) use ($filterHook): bool {

Line indented incorrectly; expected 12 spaces, found 20
Open

                    static function (PropertyInterface $property): bool {
Severity
Category
Status
Source
Language