mirror of
https://github.com/itflow-org/itflow
synced 2026-08-16 20:45:12 +00:00
Bump ImapEngine from 1.25.1 to 1.25.2
This commit is contained in:
6
libs/vendor/guzzlehttp/psr7/src/Request.php
vendored
6
libs/vendor/guzzlehttp/psr7/src/Request.php
vendored
@@ -47,7 +47,7 @@ class Request implements RequestInterface
|
||||
}
|
||||
|
||||
self::warnOnMethodCasingChange($method);
|
||||
$this->method = strtoupper($method);
|
||||
$this->method = Utils::asciiToUpper($method);
|
||||
$this->uri = $uri;
|
||||
$this->setHeaders($headers);
|
||||
$this->protocol = $version;
|
||||
@@ -108,7 +108,7 @@ class Request implements RequestInterface
|
||||
$this->assertMethod($method);
|
||||
self::warnOnMethodCasingChange($method);
|
||||
$new = clone $this;
|
||||
$new->method = strtoupper($method);
|
||||
$new->method = Utils::asciiToUpper($method);
|
||||
|
||||
return $new;
|
||||
}
|
||||
@@ -184,7 +184,7 @@ class Request implements RequestInterface
|
||||
|
||||
private static function warnOnMethodCasingChange(string $method): void
|
||||
{
|
||||
if ($method !== strtoupper($method)) {
|
||||
if ($method !== Utils::asciiToUpper($method)) {
|
||||
\trigger_deprecation(
|
||||
'guzzlehttp/psr7',
|
||||
'2.11',
|
||||
|
||||
Reference in New Issue
Block a user