open-orchestra/open-orchestra-media-bundle

View on GitHub
Media/Tests/DisplayMedia/DisplayMediaManagerTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method setUp has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function setUp()
    {
        $this->media = Phake::mock('OpenOrchestra\Media\Model\MediaInterface');

        $this->defaultStrategy = Phake::mock('OpenOrchestra\Media\DisplayMedia\DisplayMediaInterface');
Severity: Minor
Found in Media/Tests/DisplayMedia/DisplayMediaManagerTest.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status