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

View on GitHub

Showing 397 of 397 total issues

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

                DIRECTORY_SEPARATOR,

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function ($item): string {

Closing parenthesis of a multi-line function call must be on a line by itself
Open

            });

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

                        '/' . addcslashes($patternPropertiesValidator->getPattern(), '/') . '/',

Opening brace should be on a new line
Open

    private function addPatternPropertiesMapProperty(Schema $schema): void {

Line indented incorrectly; expected 8 spaces, found 16
Open

                },

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function process(string $propertyName, JsonSchema $propertySchema): PropertyInterface

Line indented incorrectly; expected 12 spaces, found 16
Open

                }

Line indented incorrectly; expected 8 spaces, found 16
Open

                static function (PropertyInterface $property): string {

Line indented incorrectly; expected 12 spaces, found 20
Open

                    },

Line indented incorrectly; expected 8 spaces, found 12
Open

            },

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

                    )

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (Validator $validator): PropertyValidatorInterface {

Line indented incorrectly; expected 24 spaces, found 36
Open

                                    static function (PropertyInterface $subProperty): string {

Opening brace should be on a new line
Open

    public function addTransformedCheck(TransformingFilterInterface $filter, PropertyInterface $property): self {

Line indented incorrectly; expected 20 spaces, found 24
Open

                        }

Line indented incorrectly; expected 8 spaces, found 12
Open

            static function (Validator $validator, Validator $comparedValidator): int {

Line indented incorrectly; expected 8 spaces, found 16
Open

                },

Opening brace must be the last content on the line
Open

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

Line indented incorrectly; expected 8 spaces, found 12
Open

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