DragonBe/vies

View on GitHub
src/Vies/CheckVatResponse.php

Summary

Maintainability
A
1 hr
Test Coverage

CheckVatResponse has 27 functions (exceeds 20 allowed). Consider refactoring.
Invalid

class CheckVatResponse
{
    public const VIES_DATETIME_FORMAT = 'Y-m-dP';

    /**
Severity: Minor
Found in src/Vies/CheckVatResponse.php - About 3 hrs to fix

    Method populate has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function populate($row): void
        {
            if (is_array($row)) {
                $row = (object) $row;
            }
    Severity: Minor
    Found in src/Vies/CheckVatResponse.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status