diff --git a/Event/PasswordResetTokenEvent.php b/Event/PasswordResetTokenEvent.php
index <HASH>..<HASH> 100644
--- a/Event/PasswordResetTokenEvent.php
+++ b/Event/PasswordResetTokenEvent.php
@@ -11,7 +11,7 @@
 namespace Darvin\UserBundle\Event;
 
 use Darvin\UserBundle\Entity\PasswordResetToken;
-use Symfony\Component\EventDispatcher\Event;
+use Symfony\Contracts\EventDispatcher\Event;
 
 /**
  * Password reset token event
diff --git a/Event/UserEvent.php b/Event/UserEvent.php
index <HASH>..<HASH> 100644
--- a/Event/UserEvent.php
+++ b/Event/UserEvent.php
@@ -11,9 +11,9 @@
 namespace Darvin\UserBundle\Event;
 
 use Darvin\UserBundle\Entity\BaseUser;
-use Symfony\Component\EventDispatcher\Event;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\HttpFoundation\Response;
+use Symfony\Contracts\EventDispatcher\Event;
 
 /**
  * User event
Replace deprecated base event class.