--TEST-- Calling any() with rejected promises should report unhandled rejection --INI-- # suppress legacy PHPUnit 7 warning for Xdebug 3 xdebug.default_enable= --FILE-- --EXPECTF-- Unhandled promise rejection with React\Promise\Exception\CompositeException: All promises rejected. in %s:%d Stack trace: #0 %s/src/Promise.php(%d): React\Promise\{closure}(%S) #1 %s/src/Promise.php(%d): React\Promise\Promise->call(%S) #2 %s/src/functions.php(%d): React\Promise\Promise->__construct(%S) #3 %s(%d): React\Promise\any(%S) #4 %A{main}