dep: package update

This commit is contained in:
2021-11-08 16:10:01 +09:00
parent 872755e57f
commit 6c3b9aafc1
783 changed files with 4581 additions and 20980 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ namespace Sabre\Event;
/**
* This is the old name for the Emitter class.
*
* Instead of of using EventEmitter, please use Emitter. They are identical
* Instead of using EventEmitter, please use Emitter. They are identical
* otherwise.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
+3 -1
View File
@@ -273,7 +273,9 @@ class Loop
$read = $this->readStreams;
$write = $this->writeStreams;
$except = null;
if (stream_select($read, $write, $except, (null === $timeout) ? null : 0, $timeout ? (int) ($timeout * 1000000) : 0)) {
// stream_select changes behavior in 8.1 to forbid passing non-null microseconds when the seconds are null.
// Older versions of php don't allow passing null to microseconds.
if (null !== $timeout ? stream_select($read, $write, $except, 0, (int) ($timeout * 1000000)) : stream_select($read, $write, $except, null)) {
// See PHP Bug https://bugs.php.net/bug.php?id=62452
// Fixed in PHP7
foreach ($read as $readStream) {
+1 -1
View File
@@ -144,7 +144,7 @@ class Promise
}
/**
* Marks this promise as rejected, and set it's rejection reason.
* Marks this promise as rejected, and set its rejection reason.
*/
public function reject(Throwable $reason)
{
+1 -1
View File
@@ -18,7 +18,7 @@ use Throwable;
/**
* This function takes an array of Promises, and returns a Promise that
* resolves when all of the given arguments have resolved.
* resolves when all the given arguments have resolved.
*
* The returned Promise will resolve with a value that's an array of all the
* values the given promises have been resolved with.
+1 -1
View File
@@ -16,5 +16,5 @@ class Version
/**
* Full version number.
*/
const VERSION = '5.1.2';
const VERSION = '5.1.4';
}
+2 -2
View File
@@ -22,9 +22,9 @@ namespace Sabre\Event;
* - Using ":" as a separator is optional, but it's highly recommended to use
* some kind of separator.
*
* The WilcardEmitter is a bit slower than the regular Emitter. If you code
* The WildcardEmitter is a bit slower than the regular Emitter. If your code
* must be very high performance, it might be better to try to use the other
* emitter. For must usage the difference is negligible though.
* emitter. For most usage the difference is negligible though.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)