From aeb4053df1df4f9aaa1e51792d092d66304236f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Tue, 25 Feb 2020 18:31:25 +0100 Subject: [PATCH 1/2] Fixed CoverageListener usage with custom SUT solver See https://github.com/symfony/symfony/blob/d0e5593b1fcc88c0738f1adf2c452f84f19207f3/src/Symfony/Bridge/PhpUnit/Legacy/CoverageListenerTrait.php#L81-L95 --- components/phpunit_bridge.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index a99752764d9..3ed9cdc5e5a 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -710,7 +710,7 @@ your application, you can use your own SUT (System Under Test) solver: The ``My\Namespace\SutSolver::solve`` can be any PHP callable and receives the -current test classname as its first argument. +current test as its first argument. Finally, the listener can also display warning messages when the SUT solver does not find the SUT: From 73e088c786cc3010ae0289f00335dc4f515ea26e Mon Sep 17 00:00:00 2001 From: Yohann Durand Date: Mon, 24 Feb 2020 17:35:30 +0100 Subject: [PATCH 2/2] Update messenger.rst formating improve --- components/messenger.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/messenger.rst b/components/messenger.rst index 33132889234..43272beb591 100644 --- a/components/messenger.rst +++ b/components/messenger.rst @@ -58,12 +58,12 @@ Concepts both when a message is originally dispatched and again later when a message is received from a transport, -**Envelope** +**Envelope**: Messenger specific concept, it gives full flexibility inside the message bus, by wrapping the messages into it, allowing to add useful information inside through *envelope stamps*. -**Envelope Stamps** +**Envelope Stamps**: Piece of information you need to attach to your message: serializer context to use for transport, markers identifying a received message or any sort of metadata your middleware or transport layer may use.