inklabs/kommerce-core

View on GitHub
src/Entity/ShipmentLabel.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public static function loadValidatorMetadata(ClassMetadata $metadata)
    {
        $metadata->addPropertyConstraint('externalId', new Assert\Length([
            'max' => 60,
        ]));
Severity: Minor
Found in src/Entity/ShipmentLabel.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status