Skip to content

Commit ec00722

Browse files
committed
minor #5911 Wrap all strings containing @ in quotes in Yaml (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Wrap all strings containing @ in quotes in Yaml | Q | A | --- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #5910 These where all strings I found with some simple grepping, I think we're pretty safe after merging this. Commits ------- 40243a1 Wrap all strings containing @ in quotes in Yaml
2 parents 28c19e9 + 40243a1 commit ec00722

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

cookbook/bundles/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ The end user can provide values in any configuration file:
342342
343343
# app/config/config.yml
344344
parameters:
345-
acme_blog.author.email: [email protected]
345+
acme_blog.author.email: "[email protected]"
346346
347347
.. code-block:: xml
348348

cookbook/email/dev_environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ via the ``delivery_address`` option:
6666
6767
# app/config/config_dev.yml
6868
swiftmailer:
69-
delivery_address: [email protected]
69+
delivery_address: "[email protected]"
7070
7171
.. code-block:: xml
7272

cookbook/logging/monolog_email.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ it is broken down.
3131
handler: swift
3232
swift:
3333
type: swift_mailer
34-
from_email: [email protected]
35-
34+
from_email: "[email protected]"
35+
to_email: "[email protected]"
3636
# or list of recipients
37-
37+
# to_email: ["[email protected]", "[email protected]", ...]
3838
subject: An Error Occurred!
3939
level: debug
4040
@@ -169,8 +169,8 @@ get logged on the server as well as the emails being sent:
169169
handler: swift
170170
swift:
171171
type: swift_mailer
172-
from_email: [email protected]
173-
172+
from_email: "[email protected]"
173+
to_email: "[email protected]"
174174
subject: An Error Occurred!
175175
level: debug
176176

cookbook/symfony1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ used them in your application:
331331
# some app.yml file from symfony1
332332
all:
333333
email:
334-
from_address: [email protected]
334+
from_address: "[email protected]"
335335
336336
In Symfony2, you can also create arbitrary entries under the ``parameters``
337337
key of your configuration:
@@ -341,7 +341,7 @@ key of your configuration:
341341
.. code-block:: yaml
342342
343343
parameters:
344-
email.from_address: [email protected]
344+
email.from_address: "[email protected]"
345345
346346
.. code-block:: xml
347347

0 commit comments

Comments
 (0)