Skip to content

Commit

Permalink
Merge pull request #2822 from pfrenssen/disable-psysh-version-check
Browse files Browse the repository at this point in the history
Disable the PsySH version check
  • Loading branch information
damiankloip authored Jun 23, 2017
2 parents 8c93e0c + baf0ebb commit 0eba6aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commands/core/cli.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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().
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 0eba6aa

Please sign in to comment.