Skip to content

Commit

Permalink
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Mar 1, 2022
1 parent d2a5dd4 commit f694879
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
namespace Hyperf\AsyncQueue;

use Hyperf\Utils\Context;
use Hyperf\Context\Context;

class Environment
{
Expand Down
2 changes: 1 addition & 1 deletion tests/AsyncQueueAspectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
use Hyperf\AsyncQueue\Driver\DriverFactory;
use Hyperf\AsyncQueue\Driver\DriverInterface;
use Hyperf\AsyncQueue\Environment;
use Hyperf\Context\Context;
use Hyperf\Di\Annotation\AnnotationCollector;
use Hyperf\Di\Annotation\Aspect;
use Hyperf\Di\Aop\Ast;
use Hyperf\Di\ReflectionManager;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Context;
use HyperfTest\AsyncQueue\Stub\FooProxy;
use Mockery;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/RedisDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
use Hyperf\AsyncQueue\Driver\RedisDriver;
use Hyperf\AsyncQueue\JobMessage;
use Hyperf\AsyncQueue\Message;
use Hyperf\Context\Context;
use Hyperf\Di\Container;
use Hyperf\Redis\RedisFactory;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Context;
use Hyperf\Utils\Packer\PhpSerializerPacker;
use Hyperf\Utils\Str;
use HyperfTest\AsyncQueue\Stub\DemoJob;
Expand Down
2 changes: 1 addition & 1 deletion tests/Stub/DemoModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
*/
namespace HyperfTest\AsyncQueue\Stub;

use Hyperf\Context\Context;
use Hyperf\Contract\CompressInterface;
use Hyperf\Contract\UnCompressInterface;
use Hyperf\Utils\Context;

class DemoModel implements CompressInterface
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Stub/DemoModelMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
*/
namespace HyperfTest\AsyncQueue\Stub;

use Hyperf\Context\Context;
use Hyperf\Contract\UnCompressInterface;
use Hyperf\Utils\Context;

class DemoModelMeta implements UnCompressInterface
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Stub/FooProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace HyperfTest\AsyncQueue\Stub;

use Hyperf\AsyncQueue\Annotation\AsyncQueueMessage;
use Hyperf\Utils\Context;
use Hyperf\Context\Context;

class FooProxy
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Stub/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
*/
namespace HyperfTest\AsyncQueue\Stub;

use Hyperf\Context\Context;
use Hyperf\Redis\RedisProxy;
use Hyperf\Utils\Context;

class Redis extends RedisProxy
{
Expand Down

0 comments on commit f694879

Please sign in to comment.