Skip to content

Commit

Permalink
Merge pull request #38 from localheinz/fix/guzzle
Browse files Browse the repository at this point in the history
Fix: Remove dependency on guzzlehttp/psr7
  • Loading branch information
chuck committed Jul 13, 2018
2 parents 4225b7c + 07bcdcc commit fa94633
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
],
"require": {
"php": "^5.6 || ^7.0",
"guzzlehttp/psr7": "^1.4.0",
"ext-curl": "*",
"opentracing/opentracing": "1.0.0-beta5",
"psr/http-message": "^1.0",
"psr/log": "^1.0.0",
"symfony/polyfill-php70": "^1.8.0"
},
Expand Down
3 changes: 0 additions & 3 deletions src/DDTrace/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

namespace DDTrace;

use Psr\Http\Message\ResponseInterface;

interface Transport
{
/**
* @param Span[][] $traces
* @return ResponseInterface
*/
public function send(array $traces);

Expand Down
2 changes: 0 additions & 2 deletions src/DDTrace/Transport/Noop.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
namespace DDTrace\Transport;

use DDTrace\Transport;
use GuzzleHttp\Psr7\Response;

final class Noop implements Transport
{
public function send(array $traces)
{
return new Response();
}

public function setHeader($key, $value)
Expand Down

0 comments on commit fa94633

Please sign in to comment.