Skip to content

Wrap all strings containing @ in quotes in Yaml #5911

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

Merged
merged 1 commit into from
Nov 30, 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
2 changes: 1 addition & 1 deletion cookbook/bundles/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ The end user can provide values in any configuration file:

# app/config/config.yml
parameters:
acme_blog.author.email: [email protected]
acme_blog.author.email: "[email protected]"

.. code-block:: xml

Expand Down
2 changes: 1 addition & 1 deletion cookbook/email/dev_environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ via the ``delivery_address`` option:

# app/config/config_dev.yml
swiftmailer:
delivery_address: [email protected]
delivery_address: "[email protected]"

.. code-block:: xml

Expand Down
10 changes: 5 additions & 5 deletions cookbook/logging/monolog_email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ it is broken down.
handler: swift
swift:
type: swift_mailer
from_email: [email protected]
to_email: [email protected]
from_email: "[email protected]"
to_email: "[email protected]"
# or list of recipients
# to_email: [[email protected], [email protected], ...]
# to_email: ["[email protected]", "[email protected]", ...]
subject: An Error Occurred!
level: debug

Expand Down Expand Up @@ -169,8 +169,8 @@ get logged on the server as well as the emails being sent:
handler: swift
swift:
type: swift_mailer
from_email: [email protected]
to_email: [email protected]
from_email: "[email protected]"
to_email: "[email protected]"
subject: An Error Occurred!
level: debug

Expand Down
4 changes: 2 additions & 2 deletions cookbook/symfony1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ used them in your application:
# some app.yml file from symfony1
all:
email:
from_address: [email protected]
from_address: "[email protected]"

In Symfony2, you can also create arbitrary entries under the ``parameters``
key of your configuration:
Expand All @@ -341,7 +341,7 @@ key of your configuration:
.. code-block:: yaml

parameters:
email.from_address: [email protected]
email.from_address: "[email protected]"

.. code-block:: xml

Expand Down