diff --git a/.idea/HDK-Core.iml b/.idea/HDK-Core.iml index 2c2ec15..4c0b42a 100644 --- a/.idea/HDK-Core.iml +++ b/.idea/HDK-Core.iml @@ -64,7 +64,6 @@ - @@ -83,7 +82,6 @@ - @@ -138,13 +136,16 @@ - + + - - - + + + + + diff --git a/.idea/php.xml b/.idea/php.xml index 3f07fd1..33c6479 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -160,6 +160,8 @@ + + diff --git a/composer.json b/composer.json index 793a584..55d6c95 100755 --- a/composer.json +++ b/composer.json @@ -35,6 +35,7 @@ "lmc/http-constants": "^1.2", "myclabs/php-enum": "^1.8", "roave/dont": "^1.5", + "symfony/http-foundation": "^6.0", "symfony/polyfill-php81": "^1.26", "teapot/status-code": "^1.1" }, diff --git a/composer.lock b/composer.lock index fdaa1da..5928282 100755 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1a55d55a807aa27077c1a9cd15914beb", + "content-hash": "9bfbee3b0c951c5306a6e88deb94c24a", "packages": [ { "name": "composer/ca-bundle", @@ -2932,6 +2932,50 @@ ], "time": "2023-01-01T08:36:10+00:00" }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.0.2", + "dist": { + "type": "zip", + "url": "https://mirrors.cloud.tencent.com/repository/composer/symfony/deprecation-contracts/v3.0.2/symfony-deprecation-contracts-v3.0.2.zip", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "shasum": "" + }, + "require": { + "php": ">=8.0.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "time": "2022-01-02T09:55:41+00:00" + }, { "name": "symfony/filesystem", "version": "v6.0.19", @@ -3010,6 +3054,58 @@ "homepage": "https://symfony.com", "time": "2023-01-20T17:44:14+00:00" }, + { + "name": "symfony/http-foundation", + "version": "v6.0.20", + "dist": { + "type": "zip", + "url": "https://mirrors.cloud.tencent.com/repository/composer/symfony/http-foundation/v6.0.20/symfony-http-foundation-v6.0.20.zip", + "reference": "e16b2676a4b3b1fa12378a20b29c364feda2a8d6", + "shasum": "" + }, + "require": { + "php": ">=8.0.2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.1" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/cache": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", + "symfony/mime": "^5.4|^6.0", + "symfony/rate-limiter": "^5.2|^6.0" + }, + "suggest": { + "symfony/mime": "To use the file extension guesser" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "time": "2023-01-30T15:41:07+00:00" + }, { "name": "symfony/polyfill-ctype", "version": "v1.27.0", @@ -7301,50 +7397,6 @@ "description": "IDE help files for Swoole.", "time": "2023-03-20T06:05:55+00:00" }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.0.2", - "dist": { - "type": "zip", - "url": "https://mirrors.cloud.tencent.com/repository/composer/symfony/deprecation-contracts/v3.0.2/symfony-deprecation-contracts-v3.0.2.zip", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "shasum": "" - }, - "require": { - "php": ">=8.0.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "time": "2022-01-02T09:55:41+00:00" - }, { "name": "symfony/event-dispatcher", "version": "v6.0.19",