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

View on GitHub
src/Exception/ComposedValue/ConditionalException.php

Summary

Maintainability
A
35 mins
Test Coverage
F
0%

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

        $providedValue,
        string $propertyName,
        ?Exception $ifException,
        ?Exception $thenException,
        ?Exception $elseException
Severity: Minor
Found in src/Exception/ComposedValue/ConditionalException.php - About 35 mins to fix

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

                        "\n    * ",

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

                        array_map(function (ValidationException $exception): string {

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

                    )

    There are no issues that match your filters.

    Category
    Status