Use Psr\Http\Message\StreamInterface instead of Icinga\Data\StreamInterface

refs #2655
This commit is contained in:
Alexander A. Klimov 2017-10-20 12:18:12 +02:00
parent 285acb2100
commit 1d4c327437
4 changed files with 5 additions and 3 deletions

View File

@ -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
{ {

View File

@ -3,7 +3,7 @@
namespace Icinga\File; namespace Icinga\File;
use Icinga\Data\StreamInterface; use Psr\Http\Message\StreamInterface;
use Traversable; use Traversable;
/** /**

View File

@ -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;

View File

@ -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;
/** /**