Skip to content

Commit eca286e

Browse files
committed
Fix namespace/filepath mismatches found by DOCtor-RST
- Fix BlogPostReviewSubscriber filepath from src/App/EventSubscriber to src/EventSubscriber - Fix BlogPostPublishSubscriber filepath from src/App/EventSubscriber to src/EventSubscriber - Fix Foo namespace from Foo to App\Foo to match src/Foo filepath
1 parent fe68614 commit eca286e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contributing/documentation/standards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Example
101101
.. code-block:: php
102102
103103
// src/Foo/Bar.php
104-
namespace Foo;
104+
namespace App\Foo;
105105
106106
use Acme\Demo\Cat;
107107
// ...

workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ list of the guard event names.
666666
This example stops any blog post being transitioned to "reviewed" if it is
667667
missing a title::
668668

669-
// src/App/EventSubscriber/BlogPostReviewSubscriber.php
669+
// src/EventSubscriber/BlogPostReviewSubscriber.php
670670
namespace App\EventSubscriber;
671671

672672
use App\Entity\BlogPost;
@@ -958,7 +958,7 @@ This example has been simplified; in production you may prefer to use the
958958
:doc:`Translation </translation>` component to manage messages in one
959959
place::
960960

961-
// src/App/EventSubscriber/BlogPostPublishSubscriber.php
961+
// src/EventSubscriber/BlogPostPublishSubscriber.php
962962
namespace App\EventSubscriber;
963963

964964
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

0 commit comments

Comments
 (0)