Completed
Pull Request — master (#144)
by Mihai
03:31 queued 01:10
created
lib/Doctrine/Common/Cache/PredisCache.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Predis\Client;
6 6
 use Predis\ClientInterface;
7
-use Predis\Command\TransactionMulti;
8 7
 use Predis\Transaction\MultiExec;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/CacheProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
      */
236 236
     private function getNamespacedId($id)
237 237
     {
238
-        $namespaceVersion  = $this->getNamespaceVersion();
238
+        $namespaceVersion = $this->getNamespaceVersion();
239 239
 
240 240
         return sprintf('%s[%s][%s]', $this->namespace, $id, $namespaceVersion);
241 241
     }
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
         $success = true;
375 375
 
376 376
         foreach ($keysAndValues as $key => $value) {
377
-            if (!$this->doSave($key, $value, $lifetime)) {
377
+            if ( ! $this->doSave($key, $value, $lifetime)) {
378 378
                 $success = false;
379 379
             }
380 380
         }
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     protected function doTag($id, array $tags = [])
402 402
     {
403 403
         foreach ($tags as $tag) {
404
-            $set = (string)$this->doFetch($tag);
404
+            $set = (string) $this->doFetch($tag);
405 405
             $set = explode(';', $set);
406 406
             $set[] = $id;
407 407
             $set = array_unique($set);
Please login to merge, or discard this patch.