From baf0ebb869f2f027d29ae5e2aba20f341c447d50 Mon Sep 17 00:00:00 2001 From: Pieter Frenssen Date: Fri, 23 Jun 2017 17:16:55 +0200 Subject: [PATCH] Disable the psysh version check. --- commands/core/cli.drush.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/core/cli.drush.inc b/commands/core/cli.drush.inc index aea368487a..9d9a2d1e3b 100644 --- a/commands/core/cli.drush.inc +++ b/commands/core/cli.drush.inc @@ -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) {