Skip to content

Commit b1bbc67

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 - Fix WorkflowLoggerSubscriber filepath from src/App/EventSubscriber to src/EventSubscriber - Fix AcmeHelloExtension filepath from src/Acme/HelloBundle/DependencyInjection to src/DependencyInjection
1 parent 7cae098 commit b1bbc67

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bundles/prepend_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on another bundle being loaded as well.
2020
To give an Extension the power to do this, it needs to implement
2121
:class:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface`::
2222

23-
// src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php
23+
// src/DependencyInjection/AcmeHelloExtension.php
2424
namespace Acme\HelloBundle\DependencyInjection;
2525

2626
use Symfony\Component\DependencyInjection\ContainerBuilder;

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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ The context is accessible in all events except for the ``workflow.guard`` events
573573
Here is an example of how to enable logging for every time a "blog_publishing"
574574
workflow leaves a place::
575575

576-
// src/App/EventSubscriber/WorkflowLoggerSubscriber.php
576+
// src/EventSubscriber/WorkflowLoggerSubscriber.php
577577
namespace App\EventSubscriber;
578578

579579
use Psr\Log\LoggerInterface;
@@ -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)