BackofficeBundle/DependencyInjection/Compiler/TwigGlobalsCompilerPass.php
Call to method setParameter
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$container->setParameter('twig.form.resources', $formResources);
- Create a ticketCreate a ticket
- Exclude checks
Call to method getParameter
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$formResources = $container->getParameter('twig.form.resources');
- Create a ticketCreate a ticket
- Exclude checks
Parameter $container
has undeclared type \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
public function process(ContainerBuilder $container)
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\DependencyInjection\Reference
Open
Open
$twig->addMethodCall('addGlobal', array('context', new Reference('open_orchestra_backoffice.context_backoffice_manager')));
- Create a ticketCreate a ticket
- Exclude checks
Call to method getDefinition
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
$twig = $container->getDefinition('twig');
- Create a ticketCreate a ticket
- Exclude checks
Call to method hasDefinition
from undeclared class \Symfony\Component\DependencyInjection\ContainerBuilder
Open
Open
if ($container->hasDefinition('twig')) {
- Create a ticketCreate a ticket
- Exclude checks
Class implements undeclared interface \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface
Open
Open
class TwigGlobalsCompilerPass implements CompilerPassInterface
- Create a ticketCreate a ticket
- Exclude checks
The closing brace for the class must go on the next line after the body Open
Open
}
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
Open
$twig->addMethodCall('addGlobal', array('context', new Reference('open_orchestra_backoffice.context_backoffice_manager')));
- Create a ticketCreate a ticket
- Exclude checks