From c9f9deba6e59e7578991325a73f3e86cb3fdbbef Mon Sep 17 00:00:00 2001 From: Ahmed TAILOULOUTE Date: Sat, 1 Apr 2017 17:23:24 +0100 Subject: [PATCH] Fix some YAML codes --- deployment/fortrabbit.rst | 20 ++++++++++---------- reference/constraints/Image.rst | 2 +- reference/constraints/IsFalse.rst | 2 +- service_container/synthetic_services.rst | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/deployment/fortrabbit.rst b/deployment/fortrabbit.rst index b4250541f3f..16db3ff10d4 100644 --- a/deployment/fortrabbit.rst +++ b/deployment/fortrabbit.rst @@ -122,16 +122,16 @@ Make sure this file is imported into the main config file: .. code-block:: yaml # app/config/config_prod.yml - imports: - - { resource: config.yml } - - { resource: config_prod_secrets.php } - - # .. - framework: - session: - # set handler_id to null to use default session handler from php.ini (memcached) - handler_id: ~ - # .. + imports: + - { resource: config.yml } + - { resource: config_prod_secrets.php } + + # .. + framework: + session: + # set handler_id to null to use default session handler from php.ini (memcached) + handler_id: ~ + # .. .. code-block:: xml diff --git a/reference/constraints/Image.rst b/reference/constraints/Image.rst index de0d943ea7d..f6985e6f346 100644 --- a/reference/constraints/Image.rst +++ b/reference/constraints/Image.rst @@ -179,7 +179,7 @@ following code: .. code-block:: yaml # src/AppBundle/Resources/config/validation.yml - AppBundle\Entity\Author + AppBundle\Entity\Author: properties: headshot: - Image: diff --git a/reference/constraints/IsFalse.rst b/reference/constraints/IsFalse.rst index 8f849af4d23..7cdc7a5c5d4 100644 --- a/reference/constraints/IsFalse.rst +++ b/reference/constraints/IsFalse.rst @@ -63,7 +63,7 @@ method returns **false**: .. code-block:: yaml # src/AppBundle/Resources/config/validation.yml - AppBundle\Entity\Author + AppBundle\Entity\Author: getters: stateInvalid: - 'IsFalse': diff --git a/service_container/synthetic_services.rst b/service_container/synthetic_services.rst index 38da855d56c..301e6cae18b 100644 --- a/service_container/synthetic_services.rst +++ b/service_container/synthetic_services.rst @@ -38,7 +38,7 @@ configuration: services: - // synthetic services don't specify a class + # synthetic services don't specify a class app.synthetic_service: synthetic: true