You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon running the test suite, the following error happens:
Puli\SymfonyBundle\Tests\ContainerTest::testTwigContainer
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The configure callable for class "Twig_Environment" is not a callable.
Apparently, the Definition object in the [Definition, 'configure'] callable is not resolved prior to checking whether the callable is valid. I don't understand where this should be happening. Is this a bug or a mistake on my side?
I'm not entirely sure whether this is a bug. I'm trying to build a container manually with FrameworkBundle, TwigBundle and another bundle loaded with 2.7:
https://github.com/puli/symfony-bundle/blob/master/Tests/ContainerTest.php#L76
Upon running the test suite, the following error happens:
Apparently, the
Definition
object in the[Definition, 'configure']
callable is not resolved prior to checking whether the callable is valid. I don't understand where this should be happening. Is this a bug or a mistake on my side?To reproduce, you can clone https://github.com/puli/symfony-bundle and run
phpunit
.The text was updated successfully, but these errors were encountered: