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

View on GitHub

Showing 397 of 397 total issues

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (bool $carry, PropertyType $type): bool {

Expected 0 spaces after opening bracket; newline found
Open

                    foreach (

Line indented incorrectly; expected 16 spaces, found 20
Open

                    static function (

Line indented incorrectly; expected 20 spaces, found 24
Open

                        if (in_array($property->getName(), $schemaProperties) &&

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

Expected 1 newline at end of file; 0 found
Open

}

Line indented incorrectly; expected 16 spaces, found 20
Open

                    },

Line indented incorrectly; expected 12 spaces, found 16
Open

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

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

                    return sprintf('

Line indented incorrectly; expected 16 spaces, found 24
Open

                        },

Line indented incorrectly; expected 8 spaces, found 12
Open

            });

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

                    'MergedProperty',

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (string $element): string {
Severity: Minor
Found in src/Utils/NormalizedName.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 20
Open

                    static function (CompositionPropertyDecorator $property): string {

Line indented incorrectly; expected 8 spaces, found 20
Open

                    },

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function ($dependency, $index) use (&$propertyDependency): void {

Closing brace must be on a line by itself
Open

                    function ($a, $b): int { return $a === $b ? 0 : 1; },

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

                    new PropertyType($mergedClassName),

Line indented incorrectly; expected 12 spaces, found 16
Open

                static function ($value): string {

Line indented incorrectly; expected 12 spaces, found 24
Open

                        },
Severity: Minor
Found in src/Model/RenderJob.php by phpcodesniffer
Severity
Category
Status
Source
Language