From 6b7dfe3dcc04a36017bf1943a69970ec0576bb36 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 25 Sep 2026 23:31:09 +0200 Subject: [PATCH] Remove outdated references to older Twig versions --- doc/templates.rst | 3 --- src/Loader/FilesystemLoader.php | 1 - 2 files changed, 4 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index 72cdcb883..3683de974 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -959,9 +959,6 @@ The following operators don't fit into any of the other categories: {{ user.('get' ~ name) }} {{ user?.(name) }} - Before Twig 3.15, use the :doc:`attribute ` function - instead for the two previous use cases. - Twig supports a specific syntax via the ``[]`` operator for accessing items on sequences and mappings: diff --git a/src/Loader/FilesystemLoader.php b/src/Loader/FilesystemLoader.php index 05708416f..82133e8b0 100644 --- a/src/Loader/FilesystemLoader.php +++ b/src/Loader/FilesystemLoader.php @@ -159,7 +159,6 @@ class FilesystemLoader implements LoaderInterface public function isFresh(string $name, int $time): bool { - // false support to be removed in 3.0 if (null === $path = $this->findTemplate($name)) { return false; }