From 7a307dc2d2786ae4b8c720cbe019ebf40eabe495 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 11 Jan 2023 15:50:43 +0100 Subject: [PATCH] Use when@dev insteadof dev/mailer.yaml --- mailer.rst | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/mailer.rst b/mailer.rst index 0cf1dc2a34c..b1850ce55c5 100644 --- a/mailer.rst +++ b/mailer.rst @@ -565,7 +565,7 @@ and headers. .. code-block:: yaml - # config/packages/dev/mailer.yaml + # config/packages/mailer.yaml framework: mailer: envelope: @@ -1442,10 +1442,11 @@ the mailer configuration file (e.g. in the ``dev`` or ``test`` environments): .. code-block:: yaml - # config/packages/dev/mailer.yaml - framework: - mailer: - dsn: 'null://null' + # config/packages/mailer.yaml + when@dev: + framework: + mailer: + dsn: 'null://null' .. code-block:: xml @@ -1490,11 +1491,12 @@ a specific address, instead of the *real* address: .. code-block:: yaml - # config/packages/dev/mailer.yaml - framework: - mailer: - envelope: - recipients: ['youremail@example.com'] + # config/packages/mailer.yaml + when@dev: + framework: + mailer: + envelope: + recipients: ['youremail@example.com'] .. code-block:: xml