Skip to content

Commit 1b65d97

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: Fix broken class links
2 parents 72c67ef + d0ca89f commit 1b65d97

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
@@ -148,7 +148,7 @@ instance.
148148

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

153153
use Symfony\Component\Validator\Validation;
154154

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
@@ -1319,8 +1319,7 @@ twig.loader
13191319

13201320
**Purpose**: Register a custom service that loads Twig templates
13211321

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

@@ -1437,6 +1436,7 @@ Then, tag it with the ``validator.initializer`` tag (it has no options).
14371436
For an example, see the ``DoctrineInitializer`` class inside the Doctrine
14381437
Bridge.
14391438

1439+
.. _`FilesystemLoader`: https://github.com/twigphp/Twig/blob/3.x/src/Loader/FilesystemLoader.php
14401440
.. _`Twig's documentation`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
14411441
.. _`Twig Loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
14421442
.. _`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
@@ -610,7 +610,7 @@ Rendering a Template in Services
610610
Inject the ``twig`` Symfony service into your own services and use its
611611
``render()`` method. When using :doc:`service autowiring </service_container/autowiring>`
612612
you only need to add an argument in the service constructor and type-hint it with
613-
the :class:`Twig\\Environment` class::
613+
the `Twig Environment`_::
614614

615615
// src/Service/SomeService.php
616616
namespace App\Service;
@@ -1594,23 +1594,24 @@ If you're using the default ``services.yaml`` configuration, this will already
15941594
work! Otherwise, :ref:`create a service <service-container-creating-service>`
15951595
for this class and :doc:`tag your service </service_container/tags>` with ``twig.runtime``.
15961596

1597-
.. _`Twig`: https://twig.symfony.com
1598-
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
1597+
.. _`Cross-Site Scripting`: https://en.wikipedia.org/wiki/Cross-site_scripting
1598+
.. _`default Twig filters and functions`: https://twig.symfony.com/doc/3.x/#reference
15991599
.. _`filters`: https://twig.symfony.com/doc/3.x/filters/index.html
16001600
.. _`functions`: https://twig.symfony.com/doc/3.x/functions/index.html
1601-
.. _`with_context`: https://twig.symfony.com/doc/3.x/functions/include.html
1602-
.. _`Twig template loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
1603-
.. _`Twig raw filter`: https://twig.symfony.com/doc/3.x/filters/raw.html
1604-
.. _`Twig output escaping docs`: https://twig.symfony.com/doc/3.x/api.html#escaper-extension
1605-
.. _`snake case`: https://en.wikipedia.org/wiki/Snake_case
1606-
.. _`Twig template inheritance`: https://twig.symfony.com/doc/3.x/tags/extends.html
1607-
.. _`Twig block tag`: https://twig.symfony.com/doc/3.x/tags/block.html
1608-
.. _`Cross-Site Scripting`: https://en.wikipedia.org/wiki/Cross-site_scripting
16091601
.. _`GitHub Actions`: https://docs.github.com/en/free-pro-team@latest/actions
1610-
.. _`UX Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
1611-
.. _`UX Live Component`: https://symfony.com/bundles/ux-live-component/current/index.html
1612-
.. _`Twig Extensions`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
1613-
.. _`default Twig filters and functions`: https://twig.symfony.com/doc/3.x/#reference
1614-
.. _`official Twig extensions`: https://github.com/twigphp?q=extra
16151602
.. _`global variables`: https://twig.symfony.com/doc/3.x/advanced.html#id1
16161603
.. _`hinclude.js`: https://mnot.github.io/hinclude/
1604+
.. _`official Twig extensions`: https://github.com/twigphp?q=extra
1605+
.. _`snake case`: https://en.wikipedia.org/wiki/Snake_case
1606+
.. _`tags`: https://twig.symfony.com/doc/3.x/tags/index.html
1607+
.. _`Twig block tag`: https://twig.symfony.com/doc/3.x/tags/block.html
1608+
.. _`Twig Environment`: https://github.com/twigphp/Twig/blob/3.x/src/Loader/FilesystemLoader.php
1609+
.. _`Twig Extensions`: https://twig.symfony.com/doc/3.x/advanced.html#creating-an-extension
1610+
.. _`Twig output escaping docs`: https://twig.symfony.com/doc/3.x/api.html#escaper-extension
1611+
.. _`Twig raw filter`: https://twig.symfony.com/doc/3.x/filters/raw.html
1612+
.. _`Twig template inheritance`: https://twig.symfony.com/doc/3.x/tags/extends.html
1613+
.. _`Twig template loader`: https://twig.symfony.com/doc/3.x/api.html#loaders
1614+
.. _`Twig`: https://twig.symfony.com
1615+
.. _`UX Live Component`: https://symfony.com/bundles/ux-live-component/current/index.html
1616+
.. _`UX Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
1617+
.. _`with_context`: https://twig.symfony.com/doc/3.x/functions/include.html

0 commit comments

Comments
 (0)