Skip to content

Commit

Permalink
Instead of classes and functions of Hyperf\Utils (#5674)
Browse files Browse the repository at this point in the history
Co-authored-by: 李铭昕 <[email protected]>
  • Loading branch information
huangdijia and limingxinleo authored Apr 26, 2023
1 parent 30060dd commit 7be4124
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"hyperf/contract": "~3.0.0",
"hyperf/di": "~3.0.0",
"hyperf/guzzle": "~3.0.0",
"hyperf/support": "~3.0.0",
"hyperf/utils": "~3.0.0",
"jcchavezs/zipkin-opentracing": "^2.0",
"opentracing/opentracing": "^1.0"
Expand Down
2 changes: 2 additions & 0 deletions publish/opentracing.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
*/
use Zipkin\Samplers\BinarySampler;

use function Hyperf\Support\env;

return [
'default' => env('TRACER_DRIVER', 'zipkin'),
'enable' => [
Expand Down
2 changes: 2 additions & 0 deletions tests/TracerFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
use PHPUnit\Framework\TestCase;
use Zipkin\Samplers\BinarySampler;

use function Hyperf\Support\env;

/**
* @internal
* @coversNothing
Expand Down

0 comments on commit 7be4124

Please sign in to comment.