From d60d6c26dc652a04c963a33a58d2fa21948ec837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Perrin?= Date: Wed, 19 Oct 2016 14:45:12 +0200 Subject: [PATCH] Remove double spaces in some YAML configuration --- console/commands_as_services.rst | 4 ++-- security/securing_services.rst | 2 +- service_container/tags.rst | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/console/commands_as_services.rst b/console/commands_as_services.rst index 1485fde9a4d..61b8dc18891 100644 --- a/console/commands_as_services.rst +++ b/console/commands_as_services.rst @@ -30,7 +30,7 @@ with ``console.command``: app.command.my_command: class: AppBundle\Command\MyCommand tags: - - { name: console.command } + - { name: console.command } .. code-block:: xml @@ -137,7 +137,7 @@ inject the ``command.default_name`` parameter: class: AppBundle\Command\MyCommand arguments: ["%command.default_name%"] tags: - - { name: console.command } + - { name: console.command } .. code-block:: xml diff --git a/security/securing_services.rst b/security/securing_services.rst index 2c6570a95c8..35fdc09041c 100644 --- a/security/securing_services.rst +++ b/security/securing_services.rst @@ -157,7 +157,7 @@ the :ref:`sidebar ` below): newsletter_manager: class: AppBundle\Newsletter\NewsletterManager tags: - - { name: security.secure_service } + - { name: security.secure_service } .. code-block:: xml diff --git a/service_container/tags.rst b/service_container/tags.rst index b5c73d2d920..dbda43664e2 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -20,7 +20,7 @@ to be used for a specific purpose. Take the following example: class: AppBundle\Extension\FooExtension public: false tags: - - { name: twig.extension } + - { name: twig.extension } .. code-block:: xml @@ -146,12 +146,12 @@ For example, you may add the following transports as services: class: \Swift_SmtpTransport arguments: ['%mailer_host%'] tags: - - { name: app.mail_transport } + - { name: app.mail_transport } app.sendmail_transport: class: \Swift_SendmailTransport tags: - - { name: app.mail_transport } + - { name: app.mail_transport } .. code-block:: xml @@ -290,12 +290,12 @@ To answer this, change the service declaration: class: \Swift_SmtpTransport arguments: ['%mailer_host%'] tags: - - { name: app.mail_transport, alias: foo } + - { name: app.mail_transport, alias: foo } app.sendmail_transport: class: \Swift_SendmailTransport tags: - - { name: app.mail_transport, alias: bar } + - { name: app.mail_transport, alias: bar } .. code-block:: xml