function Composer::removeTimeout
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Composer/Composer.php \Drupal\Core\Composer\Composer::removeTimeout()
Removes Composer's timeout so that scripts can run indefinitely.
Deprecated
in drupal:9.5.0 and is removed from drupal:10.0.0. There is no replacement.
See also
https://www.drupal.org/node/3260624
1 call to Composer::removeTimeout()
- ComposerDeprecationTest::testRemoveTimeout in core/
tests/ Drupal/ Tests/ Core/ Composer/ ComposerDeprecationTest.php - @covers ::removeTimeout @group legacy
File
-
core/
lib/ Drupal/ Core/ Composer/ Composer.php, line 281
Class
- Composer
- Provides static functions for composer script events.
Namespace
Drupal\Core\ComposerCode
public static function removeTimeout() {
trigger_error('Calling ' . __METHOD__ . ' from composer.json is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3260624', E_USER_DEPRECATED);
ProcessExecutor::setTimeout(0);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.