function Composer::removeTimeout

Same name in other branches
  1. 9 core/lib/Drupal/Core/Composer/Composer.php \Drupal\Core\Composer\Composer::removeTimeout()

Removes Composer's timeout so that scripts can run indefinitely.

File

core/lib/Drupal/Core/Composer/Composer.php, line 246

Class

Composer
Provides static functions for composer script events.

Namespace

Drupal\Core\Composer

Code

public static function removeTimeout() {
    ProcessExecutor::setTimeout(0);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.