From 424ad98f296a6e3f9dac61f369147cf05ac4145c Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Wed, 20 Jul 2022 17:26:04 -0400 Subject: [PATCH] [Doctrine] MakerBundle 1.3 is too old to reference --- .doctor-rst.yaml | 5 +---- controller.rst | 6 +----- doctrine.rst | 5 ----- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.doctor-rst.yaml b/.doctor-rst.yaml index 3e716028b86..289c7ceb439 100644 --- a/.doctor-rst.yaml +++ b/.doctor-rst.yaml @@ -85,10 +85,7 @@ whitelist: - '.. versionadded:: 2.4.0' # SwiftMailer - '.. versionadded:: 1.30' # Twig - '.. versionadded:: 1.35' # Twig - - '.. versionadded:: 1.2' # MakerBundle - - '.. versionadded:: 1.11' # MakerBundle - - '.. versionadded:: 1.3' # MakerBundle - - '.. versionadded:: 1.8' # MakerBundle + - '.. versionadded:: 1.11' # Messenger (Middleware / DoctrineBundle) - '.. versionadded:: 1.18' # Flex in setup/upgrade_minor.rst - '.. versionadded:: 1.0.0' # Encore - '0 => 123' # assertion for var_dumper - components/var_dumper.rst diff --git a/controller.rst b/controller.rst index a9a2a3adf99..f5879bf6f9e 100644 --- a/controller.rst +++ b/controller.rst @@ -153,7 +153,7 @@ and ``redirect()`` methods:: // redirects to a route and maintains the original query string parameters return $this->redirectToRoute('blog_show', $request->query->all()); - + // redirects to the current route (e.g. for Post/Redirect/Get pattern): return $this->redirectToRoute($request->attributes->get('_route')); @@ -315,10 +315,6 @@ use: created: templates/product/new.html.twig created: templates/product/show.html.twig -.. versionadded:: 1.2 - - The ``make:crud`` command was introduced in MakerBundle 1.2. - .. index:: single: Controller; Managing errors single: Controller; 404 pages diff --git a/doctrine.rst b/doctrine.rst index 2d787cf1a80..dbbc31276a3 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -127,11 +127,6 @@ need. The command will ask you some questions - answer them like done below: > (press enter again to finish) -.. versionadded:: 1.3 - - The interactive behavior of the ``make:entity`` command was introduced - in MakerBundle 1.3. - Whoa! You now have a new ``src/Entity/Product.php`` file:: // src/Entity/Product.php