jkphl/micrometa

View on GitHub
src/Micrometa/Tests/Domain/ItemTest.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method creationArgumentProvider has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function creationArgumentProvider()
    {
        $item  = new Item('test');
        $testT = $this->typ('test');
        $nvP   = $this->prp('name1', 'value1');
Severity: Minor
Found in src/Micrometa/Tests/Domain/ItemTest.php - About 1 hr to fix

    Method testItemCreation has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $type,
            array $properties,
            $itemId,
            $itemLanguage,
            array $expectedTypes,
    Severity: Major
    Found in src/Micrometa/Tests/Domain/ItemTest.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status