mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 01:55:05 +08:00
feat: 迁移到了 Core 命名空间下
This commit is contained in:
5
.idea/php.xml
generated
5
.idea/php.xml
generated
@@ -143,6 +143,11 @@
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpUnit">
|
||||
<phpunit_settings>
|
||||
<PhpUnitSettings configuration_file_path="$PROJECT_DIR$/phpunit.xml" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" use_configuration_file="true" />
|
||||
</phpunit_settings>
|
||||
</component>
|
||||
<component name="PsalmOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
|
||||
10
.idea/phpunit.xml
generated
Normal file
10
.idea/phpunit.xml
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PHPUnit">
|
||||
<option name="directories">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/tests" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
@@ -10,7 +10,7 @@ declare(strict_types=1);
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK;
|
||||
namespace Singularity\HDK\Core;
|
||||
|
||||
use Hyperf\Contract\StdoutLoggerInterface;
|
||||
use Hyperf\Framework\Logger\StdoutLogger;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/25
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Controller;
|
||||
namespace Singularity\HDK\Core\Controller;
|
||||
|
||||
use Dont\DontCall;
|
||||
use Dont\DontCallStatic;
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header;
|
||||
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\Extend\SM3;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC4559 as Negotiate;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC6750 as Bearer;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC7486 as HOBA;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC7616 as DIGEST;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC7617 as Basic;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC7804 as SCRAM_SHA_256;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC8120 as Mutual;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC8292 as vapid;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\Vendor\AWS;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\Extend\SM3;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC4559 as Negotiate;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC6750 as Bearer;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC7486 as HOBA;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC7616 as DIGEST;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC7617 as Basic;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC7804 as SCRAM_SHA_256;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC8120 as Mutual;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC8292 as vapid;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\Vendor\AWS;
|
||||
|
||||
/**
|
||||
* HTTP 认证相关的值
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\Extend;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\Extend;
|
||||
|
||||
/**
|
||||
* Singularity\HDK\Utils\Enumerations\Http\Header\Authentication\Extend\SM3@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HyperfDevelopmentKit\Utils\Enumerations\Http\RFCs\RFC4559@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HyperfDevelopmentKit\Utils\Enumerations\Http\RFCs\RFC6750@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HyperfDevelopmentKit\Utils\Enumerations\Http\RFCs\RFC7486@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
use Lmc\HttpConstants\Header;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HyperfDevelopmentKit\Utils\Enumerations\Http\RFCs\RFC7617@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HDK\Utils\Enumerations\Http\Header\Authentication\RFCs\RFC7804@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HyperfDevelopmentKit\Utils\Enumerations\Http\RFCs\RFC8120@hyperf-development-kit
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\RFCs;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\RFCs;
|
||||
|
||||
/**
|
||||
* Singularity\HDK\Utils\Enumerations\Http\Header\Authentication\RFCs\RFC8292@hyperf-development-kit
|
||||
|
||||
2
src/Enumerations/Http/Header/Vendor/AWS.php
vendored
2
src/Enumerations/Http/Header/Vendor/AWS.php
vendored
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/4/28
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Enumerations\Http\Header\Vendor;
|
||||
namespace Singularity\HDK\Core\Enumerations\Http\Header\Vendor;
|
||||
|
||||
/**
|
||||
* Singularity\HDK\Utils\Enumerations\Http\Vendor\AWS@hyperf-development-kit
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Singularity\HDK\Utils\Exceptions;
|
||||
namespace Singularity\HDK\Core\Exceptions;
|
||||
|
||||
use Hyperf\Server\Exception\ServerException;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Singularity\HDK\Core\Exceptions;
|
||||
|
||||
use Hyperf\HttpMessage\Exception\HttpException;
|
||||
use Singularity\HDK\Core\Constants\CommonErrorCode;
|
||||
use Singularity\HDK\Utils\Enumerations\Http\Header\RFCs\RFC7616;
|
||||
use Singularity\HDK\Core\Enumerations\Http\Header\RFCs\RFC7616;
|
||||
use Teapot\StatusCode\RFC\RFC7235;
|
||||
use Throwable;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Singularity\HDK\Utils\Middleware;
|
||||
namespace Singularity\HDK\Core\Middleware;
|
||||
|
||||
use Ergebnis\Http\Method;
|
||||
use Hyperf\Context\Context;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Singularity\HDK\Utils\Middleware;
|
||||
namespace Singularity\HDK\Core\Middleware;
|
||||
|
||||
use Hyperf\Context\Context;
|
||||
use Hyperf\Contract\TranslatorInterface;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/5/6
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Resource;
|
||||
namespace Singularity\HDK\Core\Resource;
|
||||
|
||||
/**
|
||||
* 使用经典方式响应
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Singularity\HDK\Utils\Service;
|
||||
namespace Singularity\HDK\Core\Service;
|
||||
|
||||
/**
|
||||
* Base64处理器
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Singularity\HDK\Utils\Service;
|
||||
namespace Singularity\HDK\Core\Service;
|
||||
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Created on 2022/5/11
|
||||
*/
|
||||
|
||||
namespace Singularity\HDK\Utils\Service;
|
||||
namespace Singularity\HDK\Core\Service;
|
||||
|
||||
use Hyperf\Utils\Codec\Json;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user