open-orchestra/open-orchestra-cms-bundle

View on GitHub

Showing 14,363 of 14,363 total issues

Reference to constant ACCESS_ABSTAIN from undeclared class \Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Open

            'Bad subject : Api client'       => array($client     , $status, array(ContributionRoleInterface::DEVELOPER), true, VoterInterface::ACCESS_ABSTAIN),

Reference to constant ACCESS_DENIED from undeclared class \Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Open

            'Not in perimeter : Contributor' => array($content, $status, array(ContributionRoleInterface::NODE_CONTRIBUTOR), false, VoterInterface::ACCESS_DENIED, false),

Reference to constant ACCESS_GRANTED from undeclared class \Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Open

            'Ok : Contributor' => array($content, $status, array(ContributionRoleInterface::NODE_CONTRIBUTOR), true , VoterInterface::ACCESS_GRANTED, true),

Reference to constant ACCESS_ABSTAIN from undeclared class \Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Open

            'Bad subject : Keyword'          => array($keyword    , $status, array(ContributionRoleInterface::DEVELOPER), true, VoterInterface::ACCESS_ABSTAIN),

Call to undeclared method \OpenOrchestra\Workflow\Tests\Validator\Constraints\WorkflowParameterValidatorTest::assertInstanceOf
Open

        $this->assertInstanceOf('Symfony\Component\Validator\ConstraintValidator', $this->validator);

Call to method isPublishedState from undeclared class \OpenOrchestra\ModelInterface\Model\StatusInterface
Open

            && !$status->isPublishedState()

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Controller\Admin\ParametersController::get
Open

                $this->get('translator')

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Controller\Admin\ParametersController::get
Open

                $this->get('translator')

Parameter $request has undeclared type \Symfony\Component\HttpFoundation\Request
Open

    public function formAction(Request $request, $statusId)

Argument 2 (event) is \OpenOrchestra\ModelInterface\Event\StatusEvent but \OpenOrchestra\WorkflowAdminBundle\Controller\Admin\StatusController::dispatchEvent() takes \Symfony\Component\EventDispatcher\Event defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:81
Open

            $this->dispatchEvent(StatusEvents::STATUS_UPDATE, new StatusEvent($status));

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Controller\Admin\StatusController::get
Open

                array('Content-type' => 'text/html; charset=utf-8', 'statusId' => $status->getId(), 'name' => $status->getLabel($this->get('open_orchestra_backoffice.context_backoffice_manager')->getBackOfficeLanguage()))

Argument 1 (form) is \Symfony\Component\Form\Form but \OpenOrchestra\WorkflowAdminBundle\Controller\Admin\WorkflowProfileController::handleForm() takes \Symfony\Component\Form\FormInterface defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:29
Open

        if ($this->handleForm($form, $message)) {

Parameter $status has undeclared type \OpenOrchestra\ModelInterface\Model\StatusInterface
Open

    protected function isDeleteGranted(StatusInterface $status)

Reference to constant ENTITY_TYPE from undeclared class \OpenOrchestra\ModelInterface\Model\WorkflowProfileInterface
Open

        $this->denyAccessUnlessGranted(ContributionActionInterface::READ, WorkflowProfileInterface::ENTITY_TYPE);

Class implements undeclared interface \OpenOrchestra\ModelInterface\DataFixtures\OrchestraFunctionalFixturesInterface
Open

class LoadWorkflowProfileDataFunctional extends AbstractFixture implements OrderedFixtureInterface,OrchestraFunctionalFixturesInterface

Call to method persist from undeclared class \Doctrine\Common\Persistence\ObjectManager
Open

        $manager->persist($profileValidator);

Call to method load from undeclared class \Symfony\Component\DependencyInjection\Loader\YamlFileLoader
Open

        $loader->load('transformer.yml');

Parameter $contentTypeRepository has undeclared type \OpenOrchestra\ModelInterface\Repository\ContentTypeRepositoryInterface
Open

    public function __construct(

Call to method addProfile from undeclared class \OpenOrchestra\ModelBundle\Document\WorkflowProfileCollection
Open

                                $profileCollection->addProfile($document);

Call to method when from undeclared class \Phake
Open

        Phake::when($status1)->isPublishedState()->thenReturn(true);
Severity
Category
Status
Source
Language