Skip to content

Commit

Permalink
fix YAML syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 28, 2015
1 parent e43c927 commit 91b93ec
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions cookbook/configuration/mongodb_session_storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/
2 changes: 1 addition & 1 deletion cookbook/logging/monolog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cookbook/session/locale_sticky_session.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91b93ec

Please sign in to comment.