mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Use Psr\Http\Message\StreamInterface instead of Icinga\Data\StreamInterface
refs #2655
This commit is contained in:
parent
285acb2100
commit
1d4c327437
@ -32,6 +32,8 @@ namespace Icinga\Data;
|
|||||||
* Typically, an instance will wrap a PHP stream; this interface provides
|
* Typically, an instance will wrap a PHP stream; this interface provides
|
||||||
* a wrapper around the most common operations, including serialization of
|
* a wrapper around the most common operations, including serialization of
|
||||||
* the entire stream to a string.
|
* the entire stream to a string.
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link \Psr\Http\Message\StreamInterface} instead
|
||||||
*/
|
*/
|
||||||
interface StreamInterface
|
interface StreamInterface
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace Icinga\File;
|
namespace Icinga\File;
|
||||||
|
|
||||||
use Icinga\Data\StreamInterface;
|
use Psr\Http\Message\StreamInterface;
|
||||||
use Traversable;
|
use Traversable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
namespace Icinga\File;
|
namespace Icinga\File;
|
||||||
|
|
||||||
use Icinga\Data\StreamInterface;
|
|
||||||
use Icinga\Exception\IcingaException;
|
use Icinga\Exception\IcingaException;
|
||||||
use Icinga\Util\Buffer;
|
use Icinga\Util\Buffer;
|
||||||
|
use Psr\Http\Message\StreamInterface;
|
||||||
use stdClass;
|
use stdClass;
|
||||||
use Traversable;
|
use Traversable;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
namespace Icinga\Util;
|
namespace Icinga\Util;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Icinga\Data\StreamInterface;
|
use Psr\Http\Message\StreamInterface;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user