Skip to content

Enhancement: New rule - SpaceBetweenLabelAndLinkInRef #14355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
1 change: 1 addition & 0 deletions .doctor-rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ rules:
replace_code_block_types: ~
replacement: ~
short_array_syntax: ~
space_between_label_and_link_in_ref: ~
typo: ~
unused_links: ~
use_deprecated_directive_instead_of_versionadded: ~
Expand Down
2 changes: 1 addition & 1 deletion components/process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Any asynchronous process can be stopped at any time with the
:method:`Symfony\\Component\\Process\\Process::stop` method. This method takes
two arguments: a timeout and a signal. Once the timeout is reached, the signal
is sent to the running process. The default signal sent to a process is ``SIGKILL``.
Please read the :ref:`signal documentation below<reference-process-signal>`
Please read the :ref:`signal documentation below <reference-process-signal>`
to find out more about signal handling in the Process component::

$process = new Process(['ls', '-lsa']);
Expand Down
2 changes: 1 addition & 1 deletion logging/channels_handlers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Creating your own Channel

You can change the channel Monolog logs to one service at a time. This is done
either via the :ref:`configuration <monolog-channels-config>` below
or by tagging your service with :ref:`monolog.logger<dic_tags-monolog>` and
or by tagging your service with :ref:`monolog.logger <dic_tags-monolog>` and
specifying which channel the service should log to. With the tag, the logger
that is injected into that service is preconfigured to use the channel you've
specified.
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Currency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Currency
Validates that a value is a valid `3-letter ISO 4217`_ currency name.

+----------------+---------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+---------------------------------------------------------------------------+
| Options | - `groups`_ |
| | - `message`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/EqualTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To force that a value is *not* equal, see :doc:`/reference/constraints/NotEqualT
``===``.

+----------------+-----------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-----------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/GreaterThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ force that a value is greater than or equal to another value, see
than another value, see :doc:`/reference/constraints/LessThan`.

+----------------+---------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+---------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/GreaterThanOrEqual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ the options. To force that a value is greater than another value, see
:doc:`/reference/constraints/GreaterThan`.

+----------------+----------------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+----------------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Iban.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internationally agreed means of identifying bank accounts across national
borders with a reduced risk of propagating transcription errors.

+----------------+-----------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-----------------------------------------------------------------------+
| Options | - `groups`_ |
| | - `message`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/IdenticalTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To force that a value is *not* identical, see
with ``==``.

+----------------+--------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+--------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Isbn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This constraint validates that an `International Standard Book Number (ISBN)`_
is either a valid ISBN-10 or a valid ISBN-13.

+----------------+----------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+----------------------------------------------------------------------+
| Options | - `type`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Issn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Validates that a value is a valid
`International Standard Serial Number (ISSN)`_.

+----------------+-----------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-----------------------------------------------------------------------+
| Options | - `groups`_ |
| | - `message`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/LessThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ force that a value is less than or equal to another value, see
than another value, see :doc:`/reference/constraints/GreaterThan`.

+----------------+------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/LessThanOrEqual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ options. To force that a value is less than another value, see
:doc:`/reference/constraints/LessThan`.

+----------------+-------------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-------------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/NotEqualTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ options. To force that a value is equal, see
``!==``.

+----------------+-------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/NotIdenticalTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ the options. To force that a value is identical, see
compare with ``!=``.

+----------------+-----------------------------------------------------------------------------+
| Applies to | :ref:`property or method<validation-property-target>` |
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+-----------------------------------------------------------------------------+
| Options | - `value`_ |
| | - `groups`_ |
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/constraints.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
**type**: ``array`` or :class:`Symfony\\Component\\Validator\\Constraint` **default**: ``null``

Allows you to attach one or more validation constraints to a specific field.
For more information, see :ref:`Adding Validation<form-option-constraints>`.
For more information, see :ref:`Adding Validation <form-option-constraints>`.
This option is added in the :class:`Symfony\\Component\\Form\\Extension\\Validator\\Type\\FormTypeValidatorExtension`
form extension.
2 changes: 1 addition & 1 deletion security/guard_authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ This requires you to implement several methods::
``AuthenticatorInterface`` was introduced in Symfony 3.4. In previous Symfony
versions, authenticators needed to implement ``GuardAuthenticatorInterface``.

Nice work! Each method is explained below: :ref:`The Guard Authenticator Methods<guard-auth-methods>`.
Nice work! Each method is explained below: :ref:`The Guard Authenticator Methods <guard-auth-methods>`.

Step 2) Configure the Authenticator
-----------------------------------
Expand Down