Skip to content

Commit

Permalink
EZP-30828: Replaced \Symfony\Component\EventDispatcher\Event usage in…
Browse files Browse the repository at this point in the history
… favor of Symfony\Contracts\EventDispatcher\Event (#2730)
  • Loading branch information
adamwojs authored and lserwatka committed Aug 9, 2019
1 parent 4e27e63 commit a1e304d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
namespace eZ\Publish\Core\MVC\Symfony\Event;

use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;
use eZ\Publish\Core\MVC\Symfony\View\View;
use Exception;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use eZ\Publish\API\Repository\Values\Content\ContentInfo;
use eZ\Publish\API\Repository\Values\Content\Location;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;

/**
* Class ContentCacheClearEvent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
namespace eZ\Publish\Core\MVC\Symfony\Event;

use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\Request;
use eZ\Publish\Core\MVC\Symfony\SiteAccess;

Expand Down
2 changes: 1 addition & 1 deletion eZ/Publish/Core/MVC/Symfony/Event/PreContentViewEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace eZ\Publish\Core\MVC\Symfony\Event;

use eZ\Publish\Core\MVC\Symfony\View\View;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;

/**
* The PreContentViewEvent allows you to inject additional parameters to a content view template.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace eZ\Publish\Core\MVC\Symfony\Event;

use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\Request;

/**
Expand Down
2 changes: 1 addition & 1 deletion eZ/Publish/Core/MVC/Symfony/Event/ScopeChangeEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace eZ\Publish\Core\MVC\Symfony\Event;

use eZ\Publish\Core\MVC\Symfony\SiteAccess;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;

/**
* This event is sent when configuration scope is changed (e.g. for content preview in a given siteaccess).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
namespace eZ\Publish\Core\MVC\Symfony\View\Event;

use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace eZ\Publish\Core\MVC\Symfony\View\Event;

use eZ\Publish\Core\MVC\Symfony\View\View;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Contracts\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\ParameterBag;

/**
Expand Down

0 comments on commit a1e304d

Please sign in to comment.