open-orchestra/open-orchestra-media-bundle

View on GitHub
Media/Tests/DisplayMedia/Strategies/AudioStrategyTest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method testRenderMedia has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function testRenderMedia($image, $url, $alt, $id = '', $class = '', $style = '')
Severity: Minor
Found in Media/Tests/DisplayMedia/Strategies/AudioStrategyTest.php - About 45 mins to fix

Method testDisplayMediaForWysiwyg has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function testDisplayMediaForWysiwyg($image, $url, $alt, $id = null, $format = null)
Severity: Minor
Found in Media/Tests/DisplayMedia/Strategies/AudioStrategyTest.php - About 35 mins to fix

There are no issues that match your filters.

Category
Status