inklabs/kommerce-core

View on GitHub
src/Entity/Product.php

Summary

Maintainability
C
1 day
Test Coverage

Product has 50 functions (exceeds 20 allowed). Consider refactoring.
Open

class Product implements IdEntityInterface, EnabledAttachmentInterface
{
    use TimeTrait, IdTrait, StringSetterTrait;

    /** @var string|null */
Severity: Minor
Found in src/Entity/Product.php - About 7 hrs to fix

    File Product.php has 302 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace inklabs\kommerce\Entity;
    
    use Doctrine\Common\Collections\ArrayCollection;
    use inklabs\kommerce\Exception\InsufficientInventoryException;
    Severity: Minor
    Found in src/Entity/Product.php - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status