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

View on GitHub
src/Model/Validator/PatternPropertiesValidator.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method __construct has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(
        SchemaProcessor $schemaProcessor,
        Schema $schema,
        private string $pattern,
        JsonSchema $propertyStructure,
Severity: Minor
Found in src/Model/Validator/PatternPropertiesValidator.php - About 1 hr to fix

    syntax error, unexpected 'PropertyInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
    Open

        private PropertyInterface $validationProperty;

    Line indented incorrectly; expected 4 spaces, found 8
    Open

            private string $pattern,

    There are no issues that match your filters.

    Category
    Status