Skip to content

Consistency #11479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doctrine/event_listeners_subscribers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions logging/processors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------------------

Expand Down