Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,6 @@
namespace and the related XSD schema is available at:
``https://symfony.com/schema/dic/symfony/symfony-1.0.xsd``

annotations
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was deprecated in 6.4, that's why there is no deprecated directive

#18590

Enabling option on 7.0 was forbidden in symfony/symfony#51050

~~~~~~~~~~~

.. _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
Expand Down Expand Up @@ -2397,7 +2359,7 @@
When this option is ``true``, all normalizers and encoders are
decorated by traceable implementations that collect profiling information about them.

.. deprecated:: 7.3

Check failure on line 2362 in reference/configuration/framework.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

Please only provide ".. deprecated::" if the version is greater/equal "8.0"

Check failure on line 2362 in reference/configuration/framework.rst

View workflow job for this annotation

GitHub Actions / Lint (DOCtor-RST)

You are not allowed to use version "7.3". Only major version "8" is allowed.

Setting the ``collect_serializer_data`` option to ``false`` is deprecated
since Symfony 7.3.
Expand Down Expand Up @@ -2604,19 +2566,6 @@
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
...........

Expand Down
14 changes: 0 additions & 14 deletions reference/configuration/twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~

Expand Down
Loading