lemonphp/json-api

View on GitHub
tests/Document/CompoundDocumentTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testIncludedResourcesRepresentedAsArray has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testIncludedResourcesRepresentedAsArray()
    {
        $apple = new ResourceObject('apples', '1');
        $apple->setAttribute('color', 'red');
        $orange = new ResourceObject('oranges', '1');
Severity: Minor
Found in tests/Document/CompoundDocumentTest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status