Skip to content

Fixed syntax error in 5.2 #15267

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
Apr 21, 2021
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 mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ configurable with the ``verify_peer`` option. Although it's not recommended to
disable this verification for security reasons, it can be useful while developing
the application or when using a self-signed certificate::

$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0'
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0';

.. versionadded:: 5.1

Expand Down
4 changes: 2 additions & 2 deletions reference/dic_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ is restarted):

$container
->register(SomeService::class)
->addTag('container.preload', ['class' => SomeClass::class)
->addTag('container.preload', ['class' => OtherClass::class)
->addTag('container.preload', ['class' => SomeClass::class])
->addTag('container.preload', ['class' => OtherClass::class])
// ...
;

Expand Down
1 change: 0 additions & 1 deletion security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ important section is ``firewalls``:
<firewall name="main"
anonymous="true"
lazy="true"/>
</firewall>
</config>
</srv:container>

Expand Down
2 changes: 1 addition & 1 deletion security/access_control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Take the following ``access_control`` entries as an example:
https://symfony.com/schema/dic/security/security-1.0.xsd">

<srv:parameters>
<srv:parameter key="env(TRUSTED_IPS)">10.0.0.1, 10.0.0.2</parameter>
<srv:parameter key="env(TRUSTED_IPS)">10.0.0.1, 10.0.0.2</srv:parameter>
</srv:parameters>

<config>
Expand Down
1 change: 1 addition & 0 deletions security/experimental_authenticators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ You can configure this using the ``entry_point`` setting:
<!-- allow authentication using a form or HTTP basic -->
<form-login/>
<http-basic/>
</firewall>
</config>
</srv:container>

Expand Down
8 changes: 4 additions & 4 deletions session/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ and ``RedisProxy``:
arguments:
- '@Redis'
# you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
# which define the prefix to use for the keys to avoid collision on the Redis server
# which define the prefix to use for the keys to avoid collision on the Redis server
# and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
# - { 'prefix' => 'my_prefix', 'ttl' => 600 }

Expand All @@ -101,7 +101,7 @@ and ``RedisProxy``:
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler">
<argument type="service" id="Redis"/>
<!-- you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
which define the prefix to use for the keys to avoid collision on the Redis server
which define the prefix to use for the keys to avoid collision on the Redis server
and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
<argument type="collection">
<argument key="prefix">my_prefix</argument>
Expand All @@ -119,7 +119,7 @@ and ``RedisProxy``:
->addArgument(
new Reference('Redis'),
// you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
// which define the prefix to use for the keys to avoid collision on the Redis server
// which define the prefix to use for the keys to avoid collision on the Redis server
// and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
// ['prefix' => 'my_prefix', 'ttl' => 600],
);
Expand Down Expand Up @@ -601,7 +601,7 @@ configure these values with the second argument passed to the
$services->set(MongoDbSessionHandler::class)
->args([
service('doctrine_mongodb.odm.default_connection'),
['id_field' => '_guid', 'expiry_field' => 'eol'],,
['id_field' => '_guid', 'expiry_field' => 'eol'],
])
;
};
Expand Down