Skip to content

Commit af85d52

Browse files
committed
minor #5573 fix YAML syntax highlighting (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- fix YAML syntax highlighting | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- 91b93ec fix YAML syntax highlighting
2 parents e5add29 + 91b93ec commit af85d52

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cookbook/configuration/mongodb_session_storage.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ need to change/add some parameters in the main configuration file:
3030
mongo_client:
3131
class: MongoClient
3232
# if using a username and password
33-
arguments: [mongodb://%mongodb_username%:%mongodb_password%@%mongodb_host%:27017]
33+
arguments: ["mongodb://%mongodb_username%:%mongodb_password%@%mongodb_host%:27017"]
3434
# if not using a username and password
35-
arguments: [mongodb://%mongodb_host%:27017]
35+
arguments: ["mongodb://%mongodb_host%:27017"]
3636
session.handler.mongo:
3737
class: Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler
38-
arguments: [@mongo_client, %mongo.session.options%]
38+
arguments: ["@mongo_client", "%mongo.session.options%"]
3939
4040
.. code-block:: xml
4141
@@ -168,4 +168,4 @@ From the `MongoDB shell`_:
168168
db.session.ensureIndex( { "expireAt": 1 }, { expireAfterSeconds: 0 } )
169169
170170
.. _installed and configured a MongoDB server: http://docs.mongodb.org/manual/installation/
171-
.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/
171+
.. _MongoDB shell: http://docs.mongodb.org/v2.2/tutorial/getting-started-with-the-mongo-shell/

cookbook/logging/monolog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ option of your handler to ``rotating_file``:
243243
handlers:
244244
main:
245245
type: rotating_file
246-
path: %kernel.logs_dir%/%kernel.environment%.log
246+
path: "%kernel.logs_dir%/%kernel.environment%.log"
247247
level: debug
248248
# max number of log files to keep
249249
# defaults to zero, which means infinite files

cookbook/session/locale_sticky_session.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Then register the listener:
171171
services:
172172
app.user_locale_listener:
173173
class: AppBundle\EventListener\UserLocaleListener
174-
arguments: [@session]
174+
arguments: ["@session"]
175175
tags:
176176
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
177177

reference/configuration/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ namespace in the ``src/Entity`` directory and gives them an ``App`` alias
601601
# ...
602602
SomeEntityNamespace:
603603
type: annotation
604-
dir: %kernel.root_dir%/../src/Entity
604+
dir: "%kernel.root_dir%/../src/Entity"
605605
is_bundle: false
606606
prefix: App\Entity
607607
alias: App

0 commit comments

Comments
 (0)