Suppress the warning about not being able to migrate variables on Drupal 8+.
Compare changes
@@ -118,6 +118,12 @@ public function migrationPluginsAlter(array &$definitions): void {
\Drupal::messenger()->addError($this->t('Failed to connect to your database server. The server reports the following message: %error.<ul><li>Is the database server running?</li><li>Does the database exist, and have you entered the correct database name?</li><li>Have you entered the correct username and password?</li><li>Have you entered the correct database hostname?</li></ul>', ['%error' => $e->getMessage()]));