Add google/auth and related libraries, and update other dependencies

This commit is contained in:
Kijin Sung 2024-04-20 23:50:39 +09:00
parent d861040766
commit d39434d426
217 changed files with 13266 additions and 2110 deletions

View file

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Psr\Http\Message;
/**
@ -51,7 +53,7 @@ interface ServerRequestInterface extends RequestInterface
*
* @return array
*/
public function getServerParams(): array;
public function getServerParams();
/**
* Retrieve cookies.
@ -63,7 +65,7 @@ interface ServerRequestInterface extends RequestInterface
*
* @return array
*/
public function getCookieParams(): array;
public function getCookieParams();
/**
* Return an instance with the specified cookies.
@ -82,7 +84,7 @@ interface ServerRequestInterface extends RequestInterface
* @param array $cookies Array of key/value pairs representing cookies.
* @return static
*/
public function withCookieParams(array $cookies): ServerRequestInterface;
public function withCookieParams(array $cookies);
/**
* Retrieve query string arguments.
@ -96,7 +98,7 @@ interface ServerRequestInterface extends RequestInterface
*
* @return array
*/
public function getQueryParams(): array;
public function getQueryParams();
/**
* Return an instance with the specified query string arguments.
@ -120,7 +122,7 @@ interface ServerRequestInterface extends RequestInterface
* $_GET.
* @return static
*/
public function withQueryParams(array $query): ServerRequestInterface;
public function withQueryParams(array $query);
/**
* Retrieve normalized file upload data.
@ -134,7 +136,7 @@ interface ServerRequestInterface extends RequestInterface
* @return array An array tree of UploadedFileInterface instances; an empty
* array MUST be returned if no data is present.
*/
public function getUploadedFiles(): array;
public function getUploadedFiles();
/**
* Create a new instance with the specified uploaded files.
@ -147,7 +149,7 @@ interface ServerRequestInterface extends RequestInterface
* @return static
* @throws \InvalidArgumentException if an invalid structure is provided.
*/
public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface;
public function withUploadedFiles(array $uploadedFiles);
/**
* Retrieve any parameters provided in the request body.
@ -194,7 +196,7 @@ interface ServerRequestInterface extends RequestInterface
* @throws \InvalidArgumentException if an unsupported argument type is
* provided.
*/
public function withParsedBody($data): ServerRequestInterface;
public function withParsedBody($data);
/**
* Retrieve attributes derived from the request.
@ -207,7 +209,7 @@ interface ServerRequestInterface extends RequestInterface
*
* @return array Attributes derived from the request.
*/
public function getAttributes(): array;
public function getAttributes();
/**
* Retrieve a single derived request attribute.
@ -241,7 +243,7 @@ interface ServerRequestInterface extends RequestInterface
* @param mixed $value The value of the attribute.
* @return static
*/
public function withAttribute(string $name, $value): ServerRequestInterface;
public function withAttribute(string $name, $value);
/**
* Return an instance that removes the specified derived request attribute.
@ -257,5 +259,5 @@ interface ServerRequestInterface extends RequestInterface
* @param string $name The attribute name.
* @return static
*/
public function withoutAttribute(string $name): ServerRequestInterface;
public function withoutAttribute(string $name);
}