diff --git a/cleaner.info.yml b/cleaner.info.yml
index 3f37785..4badb99 100644
--- a/cleaner.info.yml
+++ b/cleaner.info.yml
@@ -1,6 +1,5 @@
 name: Cleaner
 type: module
 description: 'Allows the admin to set a schedule for clearing caches and other stuff.'
-core: 8.x
-core_version_requirement: ^8 || ^9
+core_version_requirement: ^8 || ^9 || ^10
 configure: cleaner.settings
diff --git a/src/Event/CleanerRunEvent.php b/src/Event/CleanerRunEvent.php
index 7d101db..2993552 100644
--- a/src/Event/CleanerRunEvent.php
+++ b/src/Event/CleanerRunEvent.php
@@ -2,7 +2,7 @@
 
 namespace Drupal\cleaner\Event;
 
-use Symfony\Component\EventDispatcher\Event;
+use Symfony\Contracts\EventDispatcher\Event;
 
 /**
  * Class CleanerRunEvent.
diff --git a/tests/src/Kernel/CleanerKernelTests.php b/tests/src/Kernel/CleanerKernelTests.php
index c0358f9..403d62f 100644
--- a/tests/src/Kernel/CleanerKernelTests.php
+++ b/tests/src/Kernel/CleanerKernelTests.php
@@ -22,12 +22,12 @@ class CleanerKernelTests extends KernelTestBase {
   /**
    * {@inheritdoc}
    */
-  public static $modules = ['cleaner'];
+  protected static $modules = ['cleaner'];
 
   /**
    * {@inheritdoc}
    */
-  public function setUp() {
+  public function setUp(): void {
     parent::setUp();
     $this->installConfig(['cleaner']);
   }
