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
+1 -2
View File
@@ -17,7 +17,6 @@ use Predis\ClientException;
use Predis\ClientInterface;
use Predis\CommunicationException;
use Predis\ExecutableContextInterface;
use Predis\Helpers;
use Predis\NotSupportedException;
use Predis\ResponseErrorInterface;
use Predis\ResponseQueued;
@@ -443,7 +442,7 @@ class MultiExecContext implements BasicClientInterface, ExecutableContextInterfa
// Since a MULTI/EXEC block cannot be initialized when using aggregated
// connections, we can safely assume that Predis\Client::getConnection()
// will always return an instance of Predis\Connection\SingleConnectionInterface.
Helpers::onCommunicationException(new ProtocolException(
CommunicationException::handle(new ProtocolException(
$this->client->getConnection(), $message
));
}