Skip to content

Commit e6ce283

Browse files
committed
Merge branch '5.1'
* 5.1: Update serializer.rst Path from Controller Test - Messenger Page Doc
2 parents 0e70358 + cd6c0fd commit e6ce283

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

messenger.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,8 @@ Then, while testing, messages will *not* be delivered to the real transport.
12071207
Even better, in a test, you can check that exactly one message was sent
12081208
during a request::
12091209

1210-
// tests/DefaultControllerTest.php
1211-
namespace App\Tests;
1210+
// tests/Controller/DefaultControllerTest.php
1211+
namespace App\Tests\Controller;
12121212

12131213
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
12141214
use Symfony\Component\Messenger\Transport\InMemoryTransport;

serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ As well as the following normalizers:
7070
* :class:`Symfony\\Component\\Serializer\\Normalizer\\JsonSerializableNormalizer`
7171
to deal with objects implementing the :phpclass:`JsonSerializable` interface
7272
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
73-
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)
73+
denormalize arrays of objects using a notation like ``MyObject[]`` (note the ``[]`` suffix)
7474
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
7575
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
7676

0 commit comments

Comments
 (0)