Skip to content

Commit cb5848e

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Use correct filepaths for 4.2 Ordered use statements
2 parents d2ca845 + fa7e98c commit cb5848e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

controller/service.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ which is a common practice when following the `ADR pattern`_
103103
104104
.. code-block:: yaml
105105
106-
# app/config/routing.yml
106+
# config/routes.yaml
107107
hello:
108108
path: /hello/{name}
109109
defaults: { _controller: app.hello_controller }
110110
111111
.. code-block:: xml
112112
113-
<!-- app/config/routing.xml -->
113+
<!-- config/routes.xml -->
114114
<?xml version="1.0" encoding="UTF-8" ?>
115115
<routes xmlns="http://symfony.com/schema/routing"
116116
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

security/form_login_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class that processes the login submit and 4) updates the main security config fi
7474
}
7575
}
7676

77-
Edit the ``security.yml`` file in order to allow access for anyone to the
77+
Edit the ``security.yaml`` file in order to allow access for anyone to the
7878
``/login`` route:
7979

8080
.. configuration-block::

workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ like this:
4646

4747
.. code-block:: yaml
4848
49-
# app/config/config.yml
49+
# config/framework.yaml
5050
framework:
5151
workflows:
5252
blog_publishing:
@@ -197,8 +197,8 @@ As configured, the following property is used by the marking store::
197197
With this workflow named ``blog_publishing``, you can get help to decide
198198
what actions are allowed on a blog post::
199199

200-
use Symfony\Component\Workflow\Exception\LogicException;
201200
use App\Entity\BlogPost;
201+
use Symfony\Component\Workflow\Exception\LogicException;
202202

203203
$post = BlogPost();
204204

@@ -680,8 +680,8 @@ requires:
680680
681681
Then you can access this metadata in your controller as follows::
682682

683-
use Symfony\Component\Workflow\Registry;
684683
use App\Entity\BlogPost;
684+
use Symfony\Component\Workflow\Registry;
685685

686686
public function myController(Registry $registry, BlogPost $post)
687687
{

0 commit comments

Comments
 (0)