Skip to content

Commit

Permalink
Future proof and simplify deprecated interface. (#6020)
Browse files Browse the repository at this point in the history
  • Loading branch information
simesy authored Jun 19, 2024
1 parent af91fc7 commit b417242
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Drupal/Commands/sql/SanitizePluginInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit b417242

Please sign in to comment.