Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 8fa5b8d

Browse files
committed
Documented that we now support Twig 2.1+
1 parent 4b09c83 commit 8fa5b8d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

doc/book/features/template/twig.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,8 @@ return [
127127
],
128128
];
129129
```
130+
131+
When specifying the `twig.extensions` values, always use fully qualified class
132+
names or actual extension instances to ensure compatibility with any version of
133+
Twig used. Version 2 of Twig _requires_ that a fully qualified class name is
134+
used, and not a short-name alias.

doc/book/reference/migration/to-v2.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,3 +800,8 @@ Expressive 2.0 will use zend-expressive-zendviewrenderer 1.3+ if that renderer
800800
is chosen. Starting with 1.3.0 of that renderer, you may now pass a boolean
801801
`false` value for the `layout` variable when calling either `addDefaultParam()`
802802
or `render()` on the renderer instance in order to disable the layout.
803+
804+
## Twig renderer changes
805+
806+
Expressive 2.0 will use zend-expressive-twigrenderer 1.3+ if that renderer
807+
is chosen. Starting with 1.3.0 of that renderer, Twig 2.1+ is now supported.

0 commit comments

Comments
 (0)