Skip to content

Commit 8567d82

Browse files
committed
Merge branch '4.2'
* 4.2: Consistency
2 parents ca9db00 + 5d0ee2e commit 8567d82

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
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: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,17 @@ Symfony's MonologBridge provides processors that can be registered inside your a
172172
:class:`Symfony\\Bridge\\Monolog\\Processor\\WebProcessor`
173173
Overrides data from the request using the data inside Symfony's request
174174
object.
175-
175+
176176
:class:`Symfony\\Bridge\\Monolog\\Processor\\RouteProcessor`
177177
Adds information about current route (controller, action, route parameters).
178-
178+
179179
:class:`Symfony\\Bridge\\Monolog\\Processor\\ConsoleCommandProcessor`
180180
Adds information about current console command.
181181

182-
.. versionadded:: 3.4
183-
184-
The ``TokenProcessor`` class was introduced in Symfony 3.4.
185-
186182
.. versionadded:: 4.3
187183

188-
The ``RouteProcessor`` and the ``ConsoleCommandProcessor`` were introduced in Symfony 4.3.
184+
The ``RouteProcessor`` and the ``ConsoleCommandProcessor`` were introduced
185+
in Symfony 4.3.
189186

190187
Registering Processors per Handler
191188
----------------------------------

0 commit comments

Comments
 (0)