-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create fixtures for destructible and streamable responses
- Loading branch information
Showing
3 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests/Tracing/HttpClient/Fixtures/DestructibleResponseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Sentry\SentryBundle\Tests\Tracing\HttpClient\Fixtures; | ||
|
||
use Symfony\Contracts\HttpClient\ResponseInterface; | ||
|
||
interface DestructibleResponseInterface extends ResponseInterface | ||
{ | ||
public function __destruct(); | ||
} |
12 changes: 12 additions & 0 deletions
12
tests/Tracing/HttpClient/Fixtures/StreamableResponseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Sentry\SentryBundle\Tests\Tracing\HttpClient\Fixtures; | ||
|
||
use Symfony\Component\HttpClient\Response\StreamableInterface; | ||
use Symfony\Contracts\HttpClient\ResponseInterface; | ||
|
||
interface StreamableResponseInterface extends ResponseInterface, StreamableInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters