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 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 ----------------------------------