Skip to content

Commit f8e32c1

Browse files
OskarStarkjaviereguiluz
authored andcommitted
Consistency
1 parent 8b0cc9f commit f8e32c1

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

doctrine/event_listeners_subscribers.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,10 @@ interface and have an event method for each event it subscribes to::
140140
// src/EventListener/SearchIndexerSubscriber.php
141141
namespace App\EventListener;
142142

143-
use AppBundle\Entity\Product;
143+
use App\Entity\Product;
144144
use Doctrine\Common\EventSubscriber;
145145
// for Doctrine < 2.4: use Doctrine\ORM\Event\LifecycleEventArgs;
146146
use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
147-
use App\Entity\Product;
148147
use Doctrine\ORM\Events;
149148

150149
class SearchIndexerSubscriber implements EventSubscriber

forms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ the choice is ultimately up to you.
693693
The form name is automatically generated from the type class name. If you want
694694
to modify it, use the :method:`Symfony\\Component\\Form\\FormFactoryInterface::createNamed` method::
695695

696-
// src/AppBundle/Controller/DefaultController.php
697-
use AppBundle\Form\TaskType;
696+
// src/Controller/DefaultController.php
697+
use App\Form\TaskType;
698698
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
699699

700700
class DefaultController extends AbstractController

logging/processors.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,6 @@ Symfony's MonologBridge provides processors that can be registered inside your a
173173
Overrides data from the request using the data inside Symfony's request
174174
object.
175175

176-
.. versionadded:: 3.4
177-
178-
The ``TokenProcessor`` class was introduced in Symfony 3.4.
179-
180176
Registering Processors per Handler
181177
----------------------------------
182178

0 commit comments

Comments
 (0)