Skip to content

Commit d51cad1

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix some code issue [Refs] Fixed refs displaying incorrectly
2 parents ac33c46 + 29c51d4 commit d51cad1

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.doctor-rst.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ whitelist:
9494
- 'provides a ``loginUser()`` method to simulate logging in in your functional'
9595
- '.. code-block:: twig'
9696
- '.. versionadded:: 3.6' # MonologBundle
97+
- '.. versionadded:: 3.8' # MonologBundle
9798
- '// bin/console'
9899
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
99100
- '.. End to End Tests (E2E)'

components/lock.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ will fallback to a write lock by calling the ``acquire()`` method.
299299
The Owner of The Lock
300300
---------------------
301301

302-
Locks that are acquired for the first time are owned [1]_ by the ``Lock`` instance that acquired
302+
Locks that are acquired for the first time are :ref:`owned <lock-owner-technical-details>` by the ``Lock`` instance that acquired
303303
it. If you need to check whether the current ``Lock`` instance is (still) the owner of
304304
a lock, you can use the ``isAcquired()`` method::
305305

@@ -336,7 +336,11 @@ lose the lock it acquired automatically::
336336
you have to use ``acquire()`` for this. The ``isAcquired()`` method is used to check
337337
if the lock has been acquired by the **current process** only.
338338

339-
.. [1] Technically, the true owners of the lock are the ones that share the same instance of ``Key``,
339+
.. _lock-owner-technical-details:
340+
341+
.. note::
342+
343+
Technically, the true owners of the lock are the ones that share the same instance of ``Key``,
340344
not ``Lock``. But from a user perspective, ``Key`` is internal and you will likely only be working
341345
with the ``Lock`` instance so it's easier to think of the ``Lock`` instance as being the one that
342346
is the owner of the lock.

contributing/code/core_team.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Pull Request Merging Policy
146146

147147
A pull request **can be merged** if:
148148

149-
* It is a minor change [1]_;
149+
* It is a :ref:`minor change <core-team_minor-changes>`;
150150

151151
* Enough time was given for peer reviews;
152152

@@ -162,7 +162,8 @@ Pull Request Merging Process
162162
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163163

164164
All code must be committed to the repository through pull requests, except for
165-
minor changes [1]_ which can be committed directly to the repository.
165+
:ref:`minor change <core-team_minor-changes>` which can be committed directly
166+
to the repository.
166167

167168
**Mergers** must always use the command-line ``gh`` tool provided by the
168169
**Project Leader** to merge the pull requests.
@@ -178,8 +179,12 @@ Symfony Core Rules and Protocol Amendments
178179
The rules described in this document may be amended at any time at the
179180
discretion of the **Project Leader**.
180181

181-
.. [1] Minor changes comprise typos, DocBlock fixes, code standards
182-
violations, and minor CSS, JavaScript and HTML modifications.
182+
.. _core-team_minor-changes:
183+
184+
.. note::
185+
186+
Minor changes comprise typos, DocBlock fixes, code standards
187+
violations, and minor CSS, JavaScript and HTML modifications.
183188

184189
.. _`symfony-docs repository`: https://github.com/symfony/symfony-docs
185190
.. _`fabpot`: https://github.com/fabpot/

0 commit comments

Comments
 (0)