From b4172425c98573114cce3f01cd35a1015b978465 Mon Sep 17 00:00:00 2001 From: Simon Hobbs Date: Wed, 19 Jun 2024 12:47:40 +1000 Subject: [PATCH] Future proof and simplify deprecated interface. (#6020) --- src/Drupal/Commands/sql/SanitizePluginInterface.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Drupal/Commands/sql/SanitizePluginInterface.php b/src/Drupal/Commands/sql/SanitizePluginInterface.php index e35b3c353d..157ef364a0 100644 --- a/src/Drupal/Commands/sql/SanitizePluginInterface.php +++ b/src/Drupal/Commands/sql/SanitizePluginInterface.php @@ -4,14 +4,11 @@ namespace Drush\Drupal\Commands\sql; -use Consolidation\AnnotatedCommand\CommandData; -use Symfony\Component\Console\Input\InputInterface; +use Drush\Commands\sql\sanitize\SanitizePluginInterface as NewSanitizePluginInterface; /** * @deprecated use \Drush\Commands\sql\sanitize\SanitizePluginInterface instead. */ -interface SanitizePluginInterface +interface SanitizePluginInterface extends NewSanitizePluginInterface { - public function sanitize($result, CommandData $commandData); - public function messages(array &$messages, InputInterface $input); }