Deprecate the whole Predis\Helpers class.

This commit is contained in:
Daniele Alessandri
2013-02-17 14:48:37 +01:00
parent de4bae3f9b
commit 116eaba75e
31 changed files with 132 additions and 60 deletions
@@ -11,7 +11,7 @@
namespace Predis\Protocol\Text;
use Predis\Helpers;
use Predis\CommunicationException;
use Predis\Connection\ComposableConnectionInterface;
use Predis\Iterator\MultiBulkResponseSimple;
use Predis\Protocol\ProtocolException;
@@ -38,7 +38,7 @@ class ResponseMultiBulkStreamHandler implements ResponseHandlerInterface
$length = (int) $lengthString;
if ("$length" != $lengthString) {
Helpers::onCommunicationException(new ProtocolException(
CommunicationException::handle(new ProtocolException(
$connection, "Cannot parse '$lengthString' as multi-bulk length"
));
}