Skip to content

Commit 461f6d0

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [Routing] Update ignoreAttributes description Add hint about variables_order ini setting required Fix xml example for defaut-index-name for tagged service provider Removing 2 distracting scenarios
2 parents 9d999ce + 7611c41 commit 461f6d0

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

configuration.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,9 @@ the right situation:
816816
but the overrides only apply to one environment.
817817

818818
*Real* environment variables always win over env vars created by any of the
819-
``.env`` files.
819+
``.env`` files. This behavior depends on
820+
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_ to
821+
contain an ``E`` to expose the ``$_ENV`` superglobal.
820822

821823
The ``.env`` and ``.env.<environment>`` files should be committed to the
822824
repository because they are the same for all developers and machines. However,

rate_limiter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ squares).
4444
<object data="_images/rate_limiter/fixed_window.svg" type="image/svg+xml"></object>
4545

4646
Its main drawback is that resource usage is not evenly distributed in time and
47-
it can overload the server at the window edges. In the previous example,
47+
it can overload the server at the window edges. In this example,
4848
there were 6 accepted requests between 11:00 and 12:00.
4949

5050
This is more significant with bigger limits. For instance, with 5,000 requests
51-
per hour, a user could make the 4,999 requests in the last minute of some
51+
per hour, a user could make 4,999 requests in the last minute of some
5252
hour and another 5,000 requests during the first minute of the next hour,
5353
making 9,999 requests in total in two minutes and possibly overloading the
5454
server. These periods of excessive usage are called "bursts".

routing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1655,8 +1655,10 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
16551655
# * for temporary redirects, it uses the 307 status code instead of 302
16561656
# * for permanent redirects, it uses the 308 status code instead of 301
16571657
keepRequestMethod: true
1658-
# add this to remove the original route attributes when redirecting
1658+
# add this to remove all original route attributes when redirecting
16591659
ignoreAttributes: true
1660+
# or specify which attributes to ignore:
1661+
# ignoreAttributes: ['offset', 'limit']
16601662
16611663
legacy_doc:
16621664
path: /legacy/doc

service_container/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ with the ``default_index_method`` attribute on the tagged argument:
10881088
<!-- use getIndex() instead of getDefaultIndexName() -->
10891089
<argument type="tagged_iterator"
10901090
tag="app.handler"
1091-
default-index-method="someFunctionName"
1091+
default-index-method="getIndex"
10921092
/>
10931093
</service>
10941094
</services>

0 commit comments

Comments
 (0)