Skip to content

Commit 4cf3847

Browse files
committed
Fix namespace/filepath mismatches found by DOCtor-RST
- Fix indentation in phpunit_bridge.rst directory tree - Fix GreetCommand namespace from App\Console to App\Command - Fix SecurityController namespace from App\Controller\SecurityController to App\Controller
1 parent dce9a59 commit 4cf3847

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

components/phpunit_bridge.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ a directory containing multiple test suites with their own ``phpunit.xml.dist``.
138138
.. code-block:: terminal
139139
140140
├── tests/
141-
   ├── Functional/
142-
   │   ├── ...
143-
   │   └── phpunit.xml.dist
144-
   ├── Unit/
145-
   │   ├── ...
146-
   │   └── phpunit.xml.dist
141+
├── Functional/
142+
├── ...
143+
└── phpunit.xml.dist
144+
├── Unit/
145+
├── ...
146+
└── phpunit.xml.dist
147147
148148
.. code-block:: terminal
149149

console/style.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ your commands. Thanks to the ``StyleInterface`` you won't need to change the cod
476476
of your commands to change their appearance::
477477

478478
// src/Command/GreetCommand.php
479-
namespace App\Console;
479+
namespace App\Command;
480480

481481
use App\Console\CustomStyle;
482482
use Symfony\Component\Console\Command\Command;

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ You can logout user programmatically using the ``logout()`` method of the
19401940
:class:`Symfony\\Bundle\\SecurityBundle\\Security` helper::
19411941

19421942
// src/Controller/SecurityController.php
1943-
namespace App\Controller\SecurityController;
1943+
namespace App\Controller;
19441944

19451945
use Symfony\Bundle\SecurityBundle\Security;
19461946

0 commit comments

Comments
 (0)