diff --git a/src/Plugin/Filter/EmptyTableHeaderToTableData.php b/src/Plugin/Filter/EmptyTableHeaderToTableData.php
index 022ee89..95692fd 100644
--- a/src/Plugin/Filter/EmptyTableHeaderToTableData.php
+++ b/src/Plugin/Filter/EmptyTableHeaderToTableData.php
@@ -105,7 +105,7 @@ public function process($text, $langcode): FilterProcessResult {
   /**
    * {@inheritdoc}
    */
-  public function tips($long = FALSE): string|null {
+  public function tips(): string|null {
     return (string) $this->t('Transforms empty <code>&lt;th&gt;</code> elements into <code>&lt;td&gt;</code> elements.');
   }
 
diff --git a/src/Plugin/Filter/TableHeaderScopeAttribute.php b/src/Plugin/Filter/TableHeaderScopeAttribute.php
index a5ad8c5..31acf4c 100644
--- a/src/Plugin/Filter/TableHeaderScopeAttribute.php
+++ b/src/Plugin/Filter/TableHeaderScopeAttribute.php
@@ -114,7 +114,7 @@ public function process($text, $langcode): FilterProcessResult {
   /**
    * {@inheritdoc}
    */
-  public function tips($long = FALSE): string|null {
+  public function tips(): string|null {
     return (string) $this->t('Automatically sets the <code>scope</code> attribute for <code>th</code> elements, such as <code>&lt;th scope="col"&gt;&lt;/th&gt;</code>.');
   }
 
diff --git a/table_header_scope_attribute.info.yml b/table_header_scope_attribute.info.yml
index 79d4d04..a6edac6 100644
--- a/table_header_scope_attribute.info.yml
+++ b/table_header_scope_attribute.info.yml
@@ -3,7 +3,7 @@ description: 'Provides a text filter plugin that sets the scope attribute on tab
 package: Accessibility
 
 type: module
-core_version_requirement: ^11
+core_version_requirement: ^10.1 || ^11 || ^12
 
 dependencies:
   - drupal:filter
diff --git a/tests/src/Kernel/CombinedFiltersTest.php b/tests/src/Kernel/CombinedFiltersTest.php
index 4e2c864..4b54c3a 100644
--- a/tests/src/Kernel/CombinedFiltersTest.php
+++ b/tests/src/Kernel/CombinedFiltersTest.php
@@ -53,7 +53,7 @@ public function testCombinedFilters(string $input, string $expected, bool $corre
     $filter_format->save();
 
     // Process the input through the filter format.
-    $processed = (string) check_markup($input, 'test_format');
+    $processed = (string) ['#type' => 'processed_text', '#text' => $input, '#format' => 'test_format'];
 
     $this->assertSame($expected, $processed);
   }
