Browse Source

Move Predis\ConnectionException to Predis\Network\ConnectionException.

Daniele Alessandri 13 years ago
parent
commit
42f4663050

+ 0 - 1
lib/Predis/Network/ComposableStreamConnection.php

@@ -3,7 +3,6 @@
 namespace Predis\Network;
 
 use Predis\IConnectionParameters;
-use Predis\CommunicationException;
 use Predis\Commands\ICommand;
 use Predis\Protocol\IProtocolProcessor;
 use Predis\Protocol\Text\TextProtocol;

+ 0 - 1
lib/Predis/Network/ConnectionBase.php

@@ -7,7 +7,6 @@ use Predis\Helpers;
 use Predis\IReplyObject;
 use Predis\IConnectionParameters;
 use Predis\ClientException;
-use Predis\ConnectionException;
 use Predis\Commands\ICommand;
 use Predis\Protocol\ProtocolException;
 

+ 3 - 1
lib/Predis/ConnectionException.php → lib/Predis/Network/ConnectionException.php

@@ -1,6 +1,8 @@
 <?php
 
-namespace Predis;
+namespace Predis\Network;
+
+use Predis\CommunicationException;
 
 class ConnectionException extends CommunicationException {
 }