Fabien Potencier

Results 517 comments of Fabien Potencier

> A typical example would be to regenerate / warm up cache > > ```yaml > web: > commands: > pre_start: 'bash warmup-cache' > ``` Be careful here as the...

@Levdbas I've updated the docs in #4091. You can also find more information about deprecations and how to update the code in the doc/deprecated.rst doc. In your code, it should...

Should be fixed by #4286 which introduces a new `Environment::resetGlobals()` method.

And for Symfony users, see https://github.com/symfony/symfony/pull/58198/

I don't think this is worth it for 2 reasons: first, this tag exists in Jinja, then, as this is widely used, upgrading would be painful. That's why I've never...

@drjay > One of the code style issues is: > > ``` > - $nested = $nested || Node::class !== \get_class($node); > + $nested = $nested || Node::class !== $node::class;...

I'm wondering if it would be better to define a tag instead of using comments. Instead of: ``` {# @var user \User #} {# @var showBadge bool #} ``` We...

What you're describing is the community having worked around the system. Here, we're talking about making this feature official, so I think using a proper tag is the way to...

I haven't changed my mind here. Having a tag is the way to go for having something officially supported by Twig.