open-orchestra/open-orchestra-cms-bundle

View on GitHub

Showing 14,363 of 14,363 total issues

@throws type of transform has undeclared type \OpenOrchestra\BaseApi\Exceptions\TransformerParameterTypeException
Open

    public function transform($status, array $params = array())

Call to method getCompilerPassConfig from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open

        $container->getCompilerPassConfig()->setRemovingPasses(array());

Checking instanceof against undeclared class \OpenOrchestra\ModelInterface\Model\StatusInterface
Open

        if (!$status instanceof StatusInterface) {

Reference to instance property id from undeclared class \OpenOrchestra\BaseApi\Facade\FacadeInterface
Open

        if (null !== $facade->id) {

Call to method when from undeclared class \Phake
Open

        Phake::when($builder)->getAttribute(Phake::anyParameters())->thenReturn(array());

Returning type array<int>|array{}</int> but reverseTransform() is declared to return \OpenOrchestra\ModelInterface\Model\WorkflowProfileInterface|null
Open

        return $workflowProfiles;

Call to method when from undeclared class \Phake
Open

        Phake::when($this->statusRepository)->findAll()->thenReturn($expectedStatus);

Call to method when from undeclared class \Phake
Open

        Phake::when($router)->generateRoute(Phake::anyParameters())->thenReturn('route');

Call to method getDescriptions from undeclared class \OpenOrchestra\ModelInterface\Model\WorkflowProfileInterface
Open

        $facade->description = $this->multiLanguagesChoiceManager->choose($workflowProfile->getDescriptions());

Call to method when from undeclared class \Phake
Open

        Phake::when($this->status)->getLabels()->thenReturn(array());

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Transformer\WorkflowProfileTransformer::hasGroup
Open

        if ($this->hasGroup(CMSGroupContext::AUTHORIZATIONS)) {

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Tests\Transformer\WorkflowProfileTransformerTest::assertInstanceOf
Open

        $this->assertInstanceOf('OpenOrchestra\BaseApi\Facade\FacadeInterface', $facade);

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\Transformer\StatusTransformer::hasGroup
Open

        if ($this->hasGroup(CMSGroupContext::AUTHORIZATIONS)) {

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

                && !$status->isInitialState()

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

                && !$status->isAutoPublishFromState()

Parameter $workflowProfileCollection has undeclared type \Doctrine\Common\Collections\Collection
Open

    public function transform($workflowProfileCollection, array $params = array())

Reference to instance property id from undeclared class \OpenOrchestra\BaseApi\Facade\FacadeInterface
Open

            return $this->workflowProfileRepository->find($facade->id);

Class extends undeclared class \OpenOrchestra\BaseBundle\Tests\AbstractTest\AbstractBaseTestCase
Open

class AddGroupWorkflowProfileSubscriberTest extends AbstractBaseTestCase

Call to method when from undeclared class \Phake
Open

        Phake::when($workflowProfileRepository)->findAll()->thenReturn(array($workflowProfile));

Call to method anyParameters from undeclared class \Phake
Open

        Phake::when($contentTypeRepository)->findAllNotDeletedInLastVersion(Phake::anyParameters())->thenReturn(array($this->contenType));
Severity
Category
Status
Source
Language