function ComposerDeprecationTest::testRemoveTimeout

@covers ::removeTimeout @group legacy

File

core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php, line 73

Class

ComposerDeprecationTest
Tests the deprecations in the <a href="/api/drupal/core%21lib%21Drupal%21Core%21Composer%21Composer.php/class/Composer/9" title="Provides static functions for composer script events." class="local">Drupal\Core\Composer\Composer</a> class.

Namespace

Drupal\Tests\Core\Composer

Code

public function testRemoveTimeout() {
    $this->expectDeprecation('Unsilenced deprecation: Calling Drupal\\Core\\Composer\\Composer::removeTimeout 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');
    Composer::removeTimeout();
}

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