open-orchestra/open-orchestra-cms-bundle

View on GitHub
BackofficeBundle/Controller/AdminController.php

Summary

Maintainability
A
0 mins
Test Coverage

Return type of adminAction() is undeclared type \Symfony\Component\HttpFoundation\Response
Open

    public function adminAction($siteId = null)

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::render
Open

        return $this->render('OpenOrchestraBackofficeBundle::layout.html.twig' , array(

Possibly zero references to use statement for classlike/namespace Config (\Sensio\Bundle\FrameworkExtraBundle\Configuration)
Open

use Sensio\Bundle\FrameworkExtraBundle\Configuration as Config;

Class extends undeclared class \Symfony\Bundle\FrameworkBundle\Controller\Controller
Open

class AdminController extends Controller

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::get
Open

        $clientConfiguration = $this->get('open_orchestra_backoffice.manager.client_configuration');

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::get
Open

        $this->get('open_orchestra_backoffice.context_backoffice_manager')->clearContext();

Call to method __construct from undeclared class \Symfony\Component\HttpFoundation\Response
Open

        return new Response();

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::get
Open

            $site = $this->get('open_orchestra_model.repository.site')->findOneBySiteId($siteId);

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::get
Open

        $contextManager = $this->get('open_orchestra_backoffice.context_backoffice_manager');

Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\AdminController::denyAccessUnlessGranted
Open

        $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');

Space found before comma in function call
Open

        return $this->render('OpenOrchestraBackofficeBundle::layout.html.twig' , array(

Line exceeds 120 characters; contains 127 characters
Open

            $contextManager->setSite($site->getSiteId(), $site->getName(), $site->getDefaultLanguage(), $site->getLanguages());

There are no issues that match your filters.

Category
Status