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:
parent
c1f2964105
commit
e7016b00a9
22 changed files with 93 additions and 45 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue