diff --git a/fakeobjects.install b/fakeobjects.install
index c664d41..47c3bba 100644
--- a/fakeobjects.install
+++ b/fakeobjects.install
@@ -1,10 +1,12 @@
 <?php
 
+use Drupal\Component\Utility\DeprecationHelper;
+use Drupal\Core\Extension\Requirement\RequirementSeverity;
+
 /**
  * @file
  * Check requirements for the FakeObjects module.
  */
-
 /**
  * Implements hook_requirements().
  */
@@ -18,14 +20,14 @@ function fakeobjects_requirements($phase) {
       $requirements['fakeobjects'] = [
         'title' => t('FakeObjects'),
         'value' => t('Plugin detected'),
-        'severity' => REQUIREMENT_OK,
+        'severity' => DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.2.0', fn() => RequirementSeverity::OK, fn() => REQUIREMENT_OK),
       ];
     }
     else {
       $requirements['fakeobjects'] = [
         'title' => t('FakeObjects'),
         'value' => t('Plugin not detected'),
-        'severity' => REQUIREMENT_ERROR,
+        'severity' => DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '11.2.0', fn() => RequirementSeverity::Error, fn() => REQUIREMENT_ERROR),
         'description' => t('Before you can use the FakeObjects module, you need to download the plugin from ckeditor.com and place it in /libraries/fakeobjects. Check the README.txt for more information. <a href=":plugin_url">Get the plugin here</a>.', [':plugin_url' => 'http://ckeditor.com/addon/fakeobjects']),
       ];
     }
