giansalex/greenter

View on GitHub
packages/validator/src/Validator/Loader/InvoiceLoader.php

Summary

Maintainability
A
1 hr
Test Coverage

Method load has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function load(ClassMetadata $metadata)
    {
        $metadata->addPropertyConstraints('tipoDoc', [
            new Assert\NotBlank(),
            new Assert\Choice([
Severity: Minor
Found in packages/validator/src/Validator/Loader/InvoiceLoader.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status