Skip to content

Commit afffee6

Browse files
committed
Merge branch '2.3' into 2.7
2 parents cc10e47 + 2f0f732 commit afffee6

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

cookbook/event_dispatcher/event_listener.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,10 @@ or a "sub request"::
248248
Certain things, like checking information on the *real* request, may not need to
249249
be done on the sub-request listeners.
250250

251-
Events or Subscribers
252-
---------------------
251+
.. _events-or-subscribers:
252+
253+
Listeners or Subscribers
254+
------------------------
253255

254256
Listeners and subscribers can be used in the same application indistinctly. The
255257
decision to use either of them is usually a matter of personal taste. However,

cookbook/psr7.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Installation
1313

1414
You can install the component in 2 different ways:
1515

16-
* :doc:`Install it via Composer </components/using_components>` (``symfony/psr-http-message-bridge`` on `Packagist`_);
16+
* :doc:`Install it via Composer </components/using_components>` (`symfony/psr-http-message-bridge on Packagist <https://packagist.org/packages/symfony/psr-http-message-bridge>`_);
1717
* Use the official Git repository (https://github.com/symfony/psr-http-message-bridge).
1818

1919
The bridge also needs a PSR-7 implementation to allow converting HttpFoundation
2020
objects to PSR-7 objects. It provides native support for `Zend Diactoros`_.
21-
Use Composer (``zendframework/zend-diactoros`` on `Packagist`_) or refer to
22-
the project documentation to install it.
21+
Use Composer (`zendframework/zend-diactoros on Packagist <https://packagist.org/packages/zendframework/zend-diactoros>`_)
22+
or refer to the project documentation to install it.
2323

2424
Usage
2525
-----
@@ -85,5 +85,4 @@ to a :class:`Symfony\\Component\\HttpFoundation\\Response` instance::
8585
$symfonyResponse = $httpFoundationFactory->createResponse($psrResponse);
8686

8787
.. _`PSR-7`: http://www.php-fig.org/psr/psr-7/
88-
.. _Packagist: https://packagist.org/packages/symfony/psr-http-message-bridge
8988
.. _`Zend Diactoros`: https://github.com/zendframework/zend-diactoros

0 commit comments

Comments
 (0)