diff --git a/cookbook/configuration/mongodb_session_storage.rst b/cookbook/configuration/mongodb_session_storage.rst index c2f912e8b9e..5b2811fab8f 100644 --- a/cookbook/configuration/mongodb_session_storage.rst +++ b/cookbook/configuration/mongodb_session_storage.rst @@ -30,12 +30,12 @@ need to change/add some parameters in the main configuration file: mongo_client: class: MongoClient # if using a username and password - arguments: [mongodb://%mongodb_username%:%mongodb_password%@%mongodb_host%:27017] + arguments: ["mongodb://%mongodb_username%:%mongodb_password%@%mongodb_host%:27017"] # if not using a username and password - arguments: [mongodb://%mongodb_host%:27017] + arguments: ["mongodb://%mongodb_host%:27017"] session.handler.mongo: class: Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler - arguments: [@mongo_client, %mongo.session.options%] + arguments: ["@mongo_client", "%mongo.session.options%"] .. code-block:: xml @@ -168,4 +168,4 @@ From the `MongoDB shell`_: db.session.ensureIndex( { "expireAt": 1 }, { expireAfterSeconds: 0 } ) .. _installed and configured a MongoDB server: http://docs.mongodb.org/manual/installation/ -.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/ \ No newline at end of file +.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/ diff --git a/cookbook/logging/monolog.rst b/cookbook/logging/monolog.rst index a7c51bd1c38..666d01d09dc 100644 --- a/cookbook/logging/monolog.rst +++ b/cookbook/logging/monolog.rst @@ -243,7 +243,7 @@ option of your handler to ``rotating_file``: handlers: main: type: rotating_file - path: %kernel.logs_dir%/%kernel.environment%.log + path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug # max number of log files to keep # defaults to zero, which means infinite files diff --git a/cookbook/session/locale_sticky_session.rst b/cookbook/session/locale_sticky_session.rst index 239086b8e4e..c9ac75b55b9 100644 --- a/cookbook/session/locale_sticky_session.rst +++ b/cookbook/session/locale_sticky_session.rst @@ -171,7 +171,7 @@ Then register the listener: services: app.user_locale_listener: class: AppBundle\EventListener\UserLocaleListener - arguments: [@session] + arguments: ["@session"] tags: - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin } diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 1a329f7aa57..3ca1929d53d 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -601,7 +601,7 @@ namespace in the ``src/Entity`` directory and gives them an ``App`` alias # ... SomeEntityNamespace: type: annotation - dir: %kernel.root_dir%/../src/Entity + dir: "%kernel.root_dir%/../src/Entity" is_bundle: false prefix: App\Entity alias: App