File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 29
29
"php" : " >=8.0" ,
30
30
"symfony/property-access" : " ^5.4|^6.0" ,
31
31
"symfony/serializer" : " ^5.4|^6.0" ,
32
- "symfony/ux-twig-component" : " ^2.5"
32
+ "symfony/twig-bundle" : " ^5.4|^6.0" ,
33
+ "symfony/ux-twig-component" : " ^2.5" ,
34
+ "twig/twig" : " ^2.0|^3.0"
33
35
},
34
36
"require-dev" : {
35
37
"doctrine/annotations" : " ^1.0" ,
Original file line number Diff line number Diff line change 30
30
"symfony/dependency-injection" : " ^5.4|^6.0" ,
31
31
"symfony/event-dispatcher" : " ^5.4|^6.0" ,
32
32
"symfony/property-access" : " ^5.4|^6.0" ,
33
+ "symfony/twig-bundle" : " ^5.4|^6.0" ,
33
34
"twig/twig" : " ^2.0|^3.0"
34
35
},
35
36
"require-dev" : {
36
37
"symfony/framework-bundle" : " ^5.4|^6.0" ,
37
- "symfony/phpunit-bridge" : " ^6.0" ,
38
- "symfony/twig-bundle" : " ^5.4|^6.0"
38
+ "symfony/phpunit-bridge" : " ^6.0"
39
39
},
40
40
"conflict" : {
41
41
"symfony/config" : " <5.4.0"
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ final class TwigComponentExtension extends Extension
38
38
{
39
39
public function load (array $ configs , ContainerBuilder $ container ): void
40
40
{
41
- if (!isset ($ container ->getParameter ('kernel.bundles ' )['TwigBundle ' ])) {
42
- throw new LogicException ('The TwigBundle is not registered in your application. Try running "composer require symfony/twig-bundle". ' );
43
- }
44
-
45
41
$ container ->registerAttributeForAutoconfiguration (
46
42
AsTwigComponent::class,
47
43
static function (ChildDefinition $ definition , AsTwigComponent $ attribute ) {
You can’t perform that action at this time.
0 commit comments