open-orchestra/open-orchestra-media-admin-bundle

View on GitHub
MediaAdminBundle/Controller/Admin/FolderController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method newAction has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function newAction(Request $request, $parentId=null)
    {
        $folderClass = $this->getParameter('open_orchestra_media.document.media_folder.class');
        $folder = new $folderClass();
        if (!is_null($parentId)) {
Severity: Minor
Found in MediaAdminBundle/Controller/Admin/FolderController.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status