fix: Clear SwTwigFunction escape cache between requests to prevent memory leaks
fix: Clear SwTwigFunction escape cache between requests to prevent memory leaks: a task in bird-critic-1.5-full-300 (Harbor dataset). Shopware's SwTwigFunction::escapeFilter() caches escaped strings in a static property to avoid repeated escaping work. In traditional PHP-FPM this is fine because…
The task
Shopware's `SwTwigFunction::escapeFilter()` caches escaped strings in a static property to avoid repeated escaping work. In traditional PHP-FPM this is fine because the process terminates after each request. In long-running environments (FrankenPHP worker mode, RoadRunner, Swoole), however, the same process handles…
Part of kochsnow/bird-critic-1.5-full-300.