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

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

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

    public function __construct(
        SchemaProcessor $schemaProcessor,
        Schema $schema,
        JsonSchema $itemStructure,
        PropertyInterface $property,
Severity: Minor
Found in src/Model/Validator/ArrayItemValidator.php - About 1 hr to fix

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

        private string $variableSuffix;
    Severity: Critical
    Found in src/Model/Validator/ArrayItemValidator.php by phan

    There are no issues that match your filters.

    Category
    Status