From 3f8c07a524f3b82827c417fa4e22c9eef8a44db4 Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Sun, 20 Jul 2025 12:00:59 +0200 Subject: [PATCH] [FrameworkBundle][TwigBundle] Remove options session.sid_length session.sid_bits_per_character router.cache_dir validation.cache and base_template_class --- reference/configuration/framework.rst | 51 --------------------------- reference/configuration/twig.rst | 14 -------- 2 files changed, 65 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 6a76dd5a8e4..3cb42543afe 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -19,44 +19,6 @@ configured under the ``framework`` key in your application configuration. namespace and the related XSD schema is available at: ``https://symfony.com/schema/dic/symfony/symfony-1.0.xsd`` -annotations -~~~~~~~~~~~ - -.. _reference-annotations-cache: - -cache -..... - -**type**: ``string`` **default**: ``php_array`` - -This option can be one of the following values: - -php_array - Use a PHP array to cache annotations in memory -file - Use the filesystem to cache annotations -none - Disable the caching of annotations - -debug -..... - -**type**: ``boolean`` **default**: ``%kernel.debug%`` - -Whether to enable debug mode for caching. If enabled, the cache will -automatically update when the original file is changed (both with code and -annotation changes). For performance reasons, it is recommended to disable -debug mode in production, which will happen automatically if you use the -default value. - -file_cache_dir -.............. - -**type**: ``string`` **default**: ``%kernel.cache_dir%/annotations`` - -The directory to store cache files for annotations, in case -``annotations.cache`` is set to ``'file'``. - .. _reference-assets: assets @@ -2604,19 +2566,6 @@ To configure a ``jsonp`` format: router ~~~~~~ -cache_dir -......... - -**type**: ``string`` **default**: ``%kernel.cache_dir%`` - -The directory where routing information will be cached. Can be set to -``~`` (``null``) to disable route caching. - -.. deprecated:: 7.1 - - Setting the ``cache_dir`` option is deprecated since Symfony 7.1. The routes - are now always cached in the ``%kernel.build_dir%`` directory. - default_uri ........... diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index e2ac367a56f..420df13cdaa 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -54,20 +54,6 @@ called to determine the default escaping applied to the template. If the service defined in ``autoescape_service`` is invocable (i.e. it defines the `__invoke() PHP magic method`_) you can omit this option. -base_template_class -~~~~~~~~~~~~~~~~~~~ - -**type**: ``string`` **default**: ``Twig\Template`` - -.. deprecated:: 7.1 - - The ``base_template_class`` option is deprecated since Symfony 7.1. - -Twig templates are compiled into PHP classes before using them to render -contents. This option defines the base class from which all the template classes -extend. Using a custom base template is discouraged because it will make your -application harder to maintain. - cache ~~~~~