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
* a wrapper around the most common operations, including serialization of
* the entire stream to a string.
*
* @deprecated Use {@link \Psr\Http\Message\StreamInterface} instead
*/
interface StreamInterface
{

View File

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

View File

@ -3,9 +3,9 @@
namespace Icinga\File;
use Icinga\Data\StreamInterface;
use Icinga\Exception\IcingaException;
use Icinga\Util\Buffer;
use Psr\Http\Message\StreamInterface;
use stdClass;
use Traversable;

View File

@ -4,7 +4,7 @@
namespace Icinga\Util;
use Exception;
use Icinga\Data\StreamInterface;
use Psr\Http\Message\StreamInterface;
use RuntimeException;
/**