Skip to content

Commit

Permalink
Support Hyperf v3.0.18 (#191)
Browse files Browse the repository at this point in the history
* Adds rector component

* Support Hyperf 3.0.18

---------

Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Apr 26, 2023
1 parent 804e574 commit a4a6a79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"hyperf/di": "~3.0.0",
"hyperf/framework": "~3.0.0",
"hyperf/stringable": "~3.0.0",
"hyperf/support": "~3.0.1",
"hyperf/tappable": "~3.0.0",
"psy/psysh": "^0.10.0|^0.11.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/ClassAliasAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Psy\Shell;

use function Hyperf\Collection\collect;
use function Hyperf\Support\class_basename;
use function Hyperf\Tappable\tap;

class ClassAliasAutoloader
Expand Down
2 changes: 2 additions & 0 deletions src/Command/TinkerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;

use function Hyperf\Support\env;

class TinkerCommand extends HyperfCommand
{
/**
Expand Down

0 comments on commit a4a6a79

Please sign in to comment.