Security update for Core, with self-updated composer
[yaffs-website] / vendor / drush / drush / commands / core / cli.drush.inc
index aea368487a98436ee97c41c4c96bc45feef2588d..9d9a2d1e3bd808f79634f1c0baf0ce71222c8288 100644 (file)
@@ -5,6 +5,7 @@ use Drupal\Component\Assertion\Handle;
 use Drush\Psysh\DrushHelpCommand;
 use Drush\Psysh\DrushCommand;
 use Drush\Psysh\Shell;
+use Psy\VersionUpdater\Checker;
 
 /**
  * Implements hook_drush_command().
@@ -41,6 +42,9 @@ function drush_cli_core_cli() {
   // Set the Drush specific history file path.
   $configuration->setHistoryFile(drush_history_path_cli());
 
+  // Disable checking for updates. Our dependencies are managed with Composer.
+  $configuration->setUpdateCheck(Checker::NEVER);
+
   $shell = new Shell($configuration);
 
   if ($drupal_major_version >= 8) {