From 2aa08bf7cd8b27f9410011c728fc53a13994d2c3 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 24 Apr 2019 12:54:45 +0200 Subject: [PATCH 1/2] no AppBundle --- doctrine/event_listeners_subscribers.rst | 3 +-- forms.rst | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doctrine/event_listeners_subscribers.rst b/doctrine/event_listeners_subscribers.rst index 5aed174806f..322b2310d42 100644 --- a/doctrine/event_listeners_subscribers.rst +++ b/doctrine/event_listeners_subscribers.rst @@ -140,11 +140,10 @@ interface and have an event method for each event it subscribes to:: // src/EventListener/SearchIndexerSubscriber.php namespace App\EventListener; - use AppBundle\Entity\Product; + use App\Entity\Product; use Doctrine\Common\EventSubscriber; // for Doctrine < 2.4: use Doctrine\ORM\Event\LifecycleEventArgs; use Doctrine\Common\Persistence\Event\LifecycleEventArgs; - use App\Entity\Product; use Doctrine\ORM\Events; class SearchIndexerSubscriber implements EventSubscriber diff --git a/forms.rst b/forms.rst index a25fedf83a5..e49c402406d 100644 --- a/forms.rst +++ b/forms.rst @@ -693,8 +693,8 @@ the choice is ultimately up to you. The form name is automatically generated from the type class name. If you want to modify it, use the :method:`Symfony\\Component\\Form\\FormFactoryInterface::createNamed` method:: - // src/AppBundle/Controller/DefaultController.php - use AppBundle\Form\TaskType; + // src/Controller/DefaultController.php + use App\Form\TaskType; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; class DefaultController extends AbstractController From e7ba1534e28bf3bacfb7c1b74381e61eb159c569 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 24 Apr 2019 12:55:02 +0200 Subject: [PATCH 2/2] versionadded 3.4 not allowed in 4.2 --- logging/processors.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/logging/processors.rst b/logging/processors.rst index c5479db697c..64cf4d24a7c 100644 --- a/logging/processors.rst +++ b/logging/processors.rst @@ -173,10 +173,6 @@ Symfony's MonologBridge provides processors that can be registered inside your a Overrides data from the request using the data inside Symfony's request object. -.. versionadded:: 3.4 - - The ``TokenProcessor`` class was introduced in Symfony 3.4. - Registering Processors per Handler ----------------------------------