Jeroen Versteeg
Jeroen Versteeg
I just force-pushed a fix to the `docs`
This PR isn't complete yet. I forgot to add a `TypesTokenParser` (and tests).
To quote my last commit message: > Move parsing of `{name: 'string'}` mappings to ExpressionParser > > This also adds support for optional keys as discussed in https://github.com/twigphp/Twig/issues/4165. > >...
I don't understand the CI error: ``` Remaining self deprecation notices (2) 2x: Since twig/twig 3.12: The "tag" constructor argument of the "Twig\Node\TypesNode" class is deprecated and ignored (check which...
When it comes to asserting variable types, that can be left over to extensions like [TwigQI](https://github.com/alisqi/TwigQI), once `types` is merged. I do like the idea of using `assert` for expressions....
> This is the simplest useful node visitor that use the new types information to optimize the compiled code. Sure, but it does add an exception for `strict_variables`, namely that...
Ping @rafaelfranca. Hope you don't mind, but I feel this should be a quickie.