Skip to content

Commit d04a88b

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Doctrine] MakerBundle 1.3 is too old to reference add command related to tags added validation model ref link
2 parents e20c0ba + 16df40b commit d04a88b

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

.doctor-rst.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ whitelist:
8585
- '.. versionadded:: 2.4.0' # SwiftMailer
8686
- '.. versionadded:: 1.30' # Twig
8787
- '.. versionadded:: 1.35' # Twig
88-
- '.. versionadded:: 1.2' # MakerBundle
89-
- '.. versionadded:: 1.11' # MakerBundle
90-
- '.. versionadded:: 1.3' # MakerBundle
91-
- '.. versionadded:: 1.8' # MakerBundle
88+
- '.. versionadded:: 1.11' # Messenger (Middleware / DoctrineBundle)
9289
- '.. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst
9390
- '.. versionadded:: 1.0.0' # Encore
9491
- '.. versionadded:: 5.1' # Private Services

controller.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ and ``redirect()`` methods::
153153

154154
// redirects to a route and maintains the original query string parameters
155155
return $this->redirectToRoute('blog_show', $request->query->all());
156-
156+
157157
// redirects to the current route (e.g. for Post/Redirect/Get pattern):
158158
return $this->redirectToRoute($request->attributes->get('_route'));
159159

@@ -315,10 +315,6 @@ use:
315315
created: templates/product/new.html.twig
316316
created: templates/product/show.html.twig
317317
318-
.. versionadded:: 1.2
319-
320-
The ``make:crud`` command was introduced in MakerBundle 1.2.
321-
322318
.. index::
323319
single: Controller; Managing errors
324320
single: Controller; 404 pages

doctrine.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ need. The command will ask you some questions - answer them like done below:
127127
>
128128
(press enter again to finish)
129129
130-
.. versionadded:: 1.3
131-
132-
The interactive behavior of the ``make:entity`` command was introduced
133-
in MakerBundle 1.3.
134-
135130
Whoa! You now have a new ``src/Entity/Product.php`` file::
136131

137132
// src/Entity/Product.php

http_cache/validation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ data, the expiration model falls short. With the `expiration model`_, the
99
application won't be asked to return the updated response until the cache
1010
finally becomes stale.
1111

12-
The validation model addresses this issue. Under this model, the cache continues
12+
The `validation model`_ addresses this issue. Under this model, the cache continues
1313
to store responses. The difference is that, for each request, the cache asks the
1414
application if the cached response is still valid or if it needs to be regenerated.
1515
If the cache *is* still valid, your application should return a 304 status code
@@ -235,6 +235,7 @@ headers that must not be present for ``304`` responses (see
235235
:method:`Symfony\\Component\\HttpFoundation\\Response::setNotModified`).
236236

237237
.. _`expiration model`: https://tools.ietf.org/html/rfc2616#section-13.2
238+
.. _`validation model`: https://tools.ietf.org/html/rfc2616#section-13.3
238239
.. _`HTTP ETag`: https://en.wikipedia.org/wiki/HTTP_ETag
239240
.. _`DeflateAlterETag`: https://httpd.apache.org/docs/trunk/mod/mod_deflate.html#deflatealteretag
240241
.. _`BrotliAlterETag`: https://httpd.apache.org/docs/2.4/mod/mod_brotli.html#brotlialteretag

reference/dic_tags.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ services that require special processing, like console commands or Twig extensio
88
This article shows the most common tags provided by Symfony components, but in
99
your application there could be more tags available provided by third-party bundles.
1010

11+
Run this command to display tagged services in your application:
12+
13+
.. code-block:: terminal
14+
15+
$ php bin/console debug:container --tags
16+
17+
To search for a specific tag, re-run this command with a search term:
18+
19+
.. code-block:: terminal
20+
21+
$ php bin/console debug:container --tag=form.type
22+
1123
assets.package
1224
--------------
1325

0 commit comments

Comments
 (0)