Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix YAML syntax highlighting #5573

Merged
merged 1 commit into from
Jul 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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