Skip to content

Commit

Permalink
#47: Add symfony/twig-bundle for rendering suppport.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfranco committed Sep 25, 2024
1 parent 7dc2c46 commit 397f6ec
Show file tree
Hide file tree
Showing 6 changed files with 388 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"symfony/flex": "^2",
"symfony/framework-bundle": "6.4.*",
"symfony/runtime": "6.4.*",
"symfony/twig-bundle": "6.4.*",
"symfony/yaml": "6.4.*"
},
"config": {
Expand Down
352 changes: 351 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
];
6 changes: 6 additions & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
twig:
file_name_pattern: '*.twig'

when@test:
twig:
strict_variables: true
Loading

0 comments on commit 397f6ec

Please sign in to comment.