Lock minimum implicity dependency

This commit is contained in:
Chris Boden 2021-12-12 11:35:34 -05:00
parent 05b1e85365
commit 6512da0c6c
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
"php": ">=5.4.2" "php": ">=5.4.2"
, "ratchet/rfc6455": "^0.3" , "ratchet/rfc6455": "^0.3"
, "react/socket": "^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5" , "react/socket": "^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5"
, "react/event-loop": ">=0.4"
, "guzzlehttp/psr7": "^1.0" , "guzzlehttp/psr7": "^1.0"
, "symfony/http-foundation": "^2.6|^3.0|^4.0|^5.0" , "symfony/http-foundation": "^2.6|^3.0|^4.0|^5.0"
, "symfony/routing": "^2.6|^3.0|^4.0|^5.0" , "symfony/routing": "^2.6|^3.0|^4.0|^5.0"

View File

@ -18,7 +18,7 @@ class IoServerTest extends \PHPUnit_Framework_TestCase {
protected $reactor; protected $reactor;
protected function tickLoop(LoopInterface $loop) { protected function tickLoop(LoopInterface $loop) {
$loop->addTimer(0, function() use ($loop) { $loop->futureTIck(function () use ($loop) {
$loop->stop(); $loop->stop();
}); });