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

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

Summary

Maintainability
A
35 mins
Test Coverage
A
100%

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        PropertyInterface $property,
        string $template,
        array $templateValues,
        string $exceptionClass,
        array $exceptionParams = [],
Severity: Minor
Found in src/Model/Validator/PropertyTemplateValidator.php - About 35 mins to fix

    syntax error, unexpected ')', expecting variable (T_VARIABLE)
    Open

        ) {

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

            array $exceptionParams = [],

    There are no issues that match your filters.

    Category
    Status