1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Upgrade to react/promise 3.0.0 (#10429)

This commit is contained in:
Jordi Boggiano 2023-07-20 12:52:28 +02:00 committed by GitHub
parent c1f2964105
commit e7016b00a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 93 additions and 45 deletions

View file

@ -120,7 +120,6 @@ class ProcessExecutorTest extends TestCase
$process = new ProcessExecutor($buffer = new BufferIO('', StreamOutput::VERBOSITY_DEBUG));
$process->enableAsync();
$start = microtime(true);
/** @var Promise $promise */
$promise = $process->executeAsync('sleep 2');
$this->assertEquals(1, $process->countActiveJobs());
$promise->cancel();