Skip to content

Commit e2d2d40

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Fix broken class links
2 parents 92cfb30 + d0ca89f commit e2d2d40

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

components/runtime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The following arguments are supported by the ``SymfonyRuntime``:
136136
:class:`Symfony\\Component\\Console\\Application`
137137
An application for creating CLI applications.
138138

139-
:class:`Symfony\\Component\\Command\\Command`
139+
:class:`Symfony\\Component\\Console\\Command\\Command`
140140
For creating one line command CLI applications (using
141141
``Command::setCode()``).
142142

components/validator/resources.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ instance.
194194

195195
To solve this problem, call the :method:`Symfony\\Component\\Validator\\ValidatorBuilder::setMappingCache`
196196
method of the Validator builder and pass your own caching class (which must
197-
implement the PSR-6 interface :class:`Psr\\Cache\\CacheItemPoolInterface`)::
197+
implement the PSR-6 interface ``Psr\Cache\CacheItemPoolInterface``)::
198198

199199
use Symfony\Component\Validator\Validation;
200200

reference/constraints/Negative.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ want to allow zero as value.
88
========== ===================================================================
99
Applies to :ref:`property or method <validation-property-target>`
1010
Class :class:`Symfony\\Component\\Validator\\Constraints\\Negative`
11-
Validator :class:`Symfony\\Component\\Validator\\Constraints\\LesserThanValidator`
11+
Validator :class:`Symfony\\Component\\Validator\\Constraints\\LessThanValidator`
1212
========== ===================================================================
1313

1414
Basic Usage

reference/constraints/NegativeOrZero.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ want to allow zero as value, use :doc:`/reference/constraints/Negative` instead.
77
========== ===================================================================
88
Applies to :ref:`property or method <validation-property-target>`
99
Class :class:`Symfony\\Component\\Validator\\Constraints\\NegativeOrZero`
10-
Validator :class:`Symfony\\Component\\Validator\\Constraints\\LesserThanOrEqualValidator`
10+
Validator :class:`Symfony\\Component\\Validator\\Constraints\\LessThanOrEqualValidator`
1111
========== ===================================================================
1212

1313
Basic Usage

reference/dic_tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,8 +1327,7 @@ twig.loader
13271327

13281328
**Purpose**: Register a custom service that loads Twig templates
13291329

1330-
By default, Symfony uses only one `Twig Loader`_ -
1331-
:class:`Symfony\\Bundle\\TwigBundle\\Loader\\FilesystemLoader`. If you need
1330+
By default, Symfony uses only one `Twig Loader`_ - `FilesystemLoader`_. If you need
13321331
to load Twig templates from another resource, you can create a service for
13331332
the new loader and tag it with ``twig.loader``.
13341333

@@ -1445,6 +1444,7 @@ Then, tag it with the ``validator.initializer`` tag (it has no options).
14451444
For an example, see the ``DoctrineInitializer`` class inside the Doctrine
14461445
Bridge.
14471446

1447+
.. _`FilesystemLoader`: https://github.com/twigphp/Twig/blob/3.x/src/Loader/FilesystemLoader.php
14481448
.. _`Twig's documentation`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
14491449
.. _`Twig Loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
14501450
.. _`PHP class preloading`: https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.preload

templates.rst

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Rendering a Template in Services
662662
Inject the ``twig`` Symfony service into your own services and use its
663663
``render()`` method. When using :doc:`service autowiring </service_container/autowiring>`
664664
you only need to add an argument in the service constructor and type-hint it with
665-
the :class:`Twig\\Environment` class::
665+
the `Twig Environment`_::
666666

667667
// src/Service/SomeService.php
668668
namespace App\Service;
@@ -1648,24 +1648,25 @@ If you're using the default ``services.yaml`` configuration, this will already
16481648
work! Otherwise, :ref:`create a service <service-container-creating-service>`
16491649
for this class and :doc:`tag your service </service_container/tags>` with ``twig.runtime``.
16501650

1651-
.. _`Twig`: https://twig.symfony.com
1652-
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
1651+
.. _`Cross-Site Scripting`: https://en.wikipedia.org/wiki/Cross-site_scripting
1652+
.. _`default Twig filters and functions`: https://twig.symfony.com/doc/3.x/#reference
16531653
.. _`filters`: https://twig.symfony.com/doc/3.x/filters/index.html
16541654
.. _`functions`: https://twig.symfony.com/doc/3.x/functions/index.html
1655-
.. _`with_context`: https://twig.symfony.com/doc/3.x/functions/include.html
1656-
.. _`Twig template loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
1657-
.. _`Twig raw filter`: https://twig.symfony.com/doc/3.x/filters/raw.html
1658-
.. _`Twig output escaping docs`: https://twig.symfony.com/doc/3.x/api.html#escaper-extension
1659-
.. _`snake case`: https://en.wikipedia.org/wiki/Snake_case
1660-
.. _`Twig template inheritance`: https://twig.symfony.com/doc/3.x/tags/extends.html
1661-
.. _`Twig block tag`: https://twig.symfony.com/doc/3.x/tags/block.html
1662-
.. _`Cross-Site Scripting`: https://en.wikipedia.org/wiki/Cross-site_scripting
16631655
.. _`GitHub Actions`: https://docs.github.com/en/free-pro-team@latest/actions
1664-
.. _`UX Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
1665-
.. _`UX Live Component`: https://symfony.com/bundles/ux-live-component/current/index.html
1666-
.. _`Twig Extensions`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
1667-
.. _`default Twig filters and functions`: https://twig.symfony.com/doc/3.x/#reference
1668-
.. _`official Twig extensions`: https://github.com/twigphp?q=extra
16691656
.. _`global variables`: https://twig.symfony.com/doc/3.x/advanced.html#id1
16701657
.. _`hinclude.js`: https://mnot.github.io/hinclude/
16711658
.. _`Turbo Streams`: https://symfony.com/bundles/ux-turbo/current/index.html
1659+
.. _`official Twig extensions`: https://github.com/twigphp?q=extra
1660+
.. _`snake case`: https://en.wikipedia.org/wiki/Snake_case
1661+
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
1662+
.. _`Twig block tag`: https://twig.symfony.com/doc/3.x/tags/block.html
1663+
.. _`Twig Environment`: https://github.com/twigphp/Twig/blob/3.x/src/Loader/FilesystemLoader.php
1664+
.. _`Twig Extensions`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
1665+
.. _`Twig output escaping docs`: https://twig.symfony.com/doc/3.x/api.html#escaper-extension
1666+
.. _`Twig raw filter`: https://twig.symfony.com/doc/3.x/filters/raw.html
1667+
.. _`Twig template inheritance`: https://twig.symfony.com/doc/3.x/tags/extends.html
1668+
.. _`Twig template loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
1669+
.. _`Twig`: https://twig.symfony.com
1670+
.. _`UX Live Component`: https://symfony.com/bundles/ux-live-component/current/index.html
1671+
.. _`UX Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
1672+
.. _`with_context`: https://twig.symfony.com/doc/3.x/functions/include.html

0 commit comments

Comments
 (0)