Skip to content

Commit

Permalink
Wrong class documented in the upgrade guide (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblais committed Jan 12, 2021
1 parent 9338abd commit cbdbe79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE.md
Expand Up @@ -4,7 +4,7 @@
Version greater than v0.11.x now require Twig3. There are some feature that were removed in Twig3, so we were forced to remove some features as well in TwigBridge

- add `'TwigBridge\Extension\Loader\Globals'` in the configuration twigbridge.extensions.enabled. Or else, you will loose global variables `errors`, `app` and all other shared with `View::share`
- add `'TwigBridge\Extension\Loader\Event'` in the configuration twigbridge.extensions.enabled. Or else, `composing:{view name}` and `creating:{view name}` events will no longer be triggered.
- add `'TwigBridge\Extension\Laravel\Event'` in the configuration twigbridge.extensions.enabled. Or else, `composing:{view name}` and `creating:{view name}` events will no longer be triggered.
- Remove config 'base_template_class' in config/twigbridge.php. It is no longer possible to use a custom template class.
- Make sure you no longer support Twig2 deprecated features: https://twig.symfony.com/doc/2.x/deprecated.html

Expand Down

0 comments on commit cbdbe79

Please sign in to comment.