Bump ImapEngine from 1.25.1 to 1.25.2

This commit is contained in:
johnnyq
2026-07-18 11:17:53 -04:00
parent 9cc7e5ff3c
commit 1a3d7a1e0d
32 changed files with 2375 additions and 269 deletions

View File

@@ -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',