open-orchestra/open-orchestra-cms-bundle

View on GitHub
WorkflowAdminBundle/Tests/DependencyInjection/OpenOrchestraWorkflowAdminExtensionTest.php

Summary

Maintainability
A
0 mins
Test Coverage

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

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

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\DependencyInjection\OpenOrchestraWorkflowAdminExtensionTest::assertEquals
Open

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

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

        $container->setParameter('kernel.cache_dir', '/tmp');

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

        $container->registerExtension(new OpenOrchestraWorkflowAdminExtension());

Return type of loadContainerFromFile() is undeclared type \Symfony\Component\DependencyInjection\ContainerBuilder
Open

    private function loadContainerFromFile($file)

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

        $container->setParameter('kernel.environment', 'prod');

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

        $loader = new YamlFileLoader($container, $locator);

Call to undeclared method \OpenOrchestra\WorkflowAdminBundle\DependencyInjection\OpenOrchestraWorkflowAdminExtensionTest::assertEquals
Open

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

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

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

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

        $container->setParameter('kernel.debug', false);

Call to method __construct from undeclared class \Symfony\Component\Config\FileLocator
Open

        $locator = new FileLocator(__DIR__ . '/Fixtures/config/');

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

class OpenOrchestraWorkflowAdminExtensionTest extends AbstractBaseTestCase

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

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

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

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

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

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

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

        $container = new ContainerBuilder();

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

        $container->compile();

Line exceeds 120 characters; contains 125 characters
Open

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

Line exceeds 120 characters; contains 125 characters
Open

        $this->assertEquals($defaultColor, $container->getParameter('open_orchestra_workflow_admin.choice.available_color'));

Closing brace indented incorrectly; expected 4 spaces, found 3
Open

   }

Line indented incorrectly; expected 4 spaces, found 3
Open

   }

There are no issues that match your filters.

Category
Status