Passed
Push — v7 ( 61f560...7e6987 )
by Georges
01:59
created
lib/Phpfastcache/Entities/ItemBatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Entities;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Devtrue/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Devtrue;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Riak/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Riak;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Sqlite/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Sqlite;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Sqlite/Driver.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Sqlite;
17 17
 
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
             }
128 128
         }
129 129
 
130
-        if (isset($row[ 'object' ])) {
131
-            return $this->decode($row[ 'object' ]);
130
+        if (isset($row['object'])) {
131
+            return $this->decode($row['object']);
132 132
         }
133 133
 
134 134
         return null;
@@ -300,12 +300,12 @@  discard block
 block discarded – undo
300 300
             $stm = $this->indexing->prepare("SELECT MAX(`db`) as `db` FROM `balancing`");
301 301
             $stm->execute();
302 302
             $row = $stm->fetch(PDO::FETCH_ASSOC);
303
-            if (!isset($row[ 'db' ])) {
303
+            if (!isset($row['db'])) {
304 304
                 $db = 1;
305
-            } elseif ($row[ 'db' ] <= 1) {
305
+            } elseif ($row['db'] <= 1) {
306 306
                 $db = 1;
307 307
             } else {
308
-                $db = $row[ 'db' ];
308
+                $db = $row['db'];
309 309
             }
310 310
 
311 311
             // check file size
@@ -327,8 +327,8 @@  discard block
 block discarded – undo
327 327
           ':keyword' => $keyword,
328 328
         ]);
329 329
         $row = $stm->fetch(PDO::FETCH_ASSOC);
330
-        if (isset($row[ 'db' ]) && $row[ 'db' ] != '') {
331
-            $db = $row[ 'db' ];
330
+        if (isset($row['db']) && $row['db'] != '') {
331
+            $db = $row['db'];
332 332
         } else {
333 333
             /*
334 334
              * Insert new to Indexing
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
         /**
360 360
          * init instant
361 361
          */
362
-        if (!isset($this->instance[ $instant ])) {
362
+        if (!isset($this->instance[$instant])) {
363 363
             // check DB Files ready or not
364 364
             $createTable = false;
365 365
             if (!\file_exists($this->SqliteDir . '/db' . $instant) || $reset == true) {
@@ -372,12 +372,12 @@  discard block
 block discarded – undo
372 372
                 $this->initDB($PDO);
373 373
             }
374 374
 
375
-            $this->instance[ $instant ] = $PDO;
375
+            $this->instance[$instant] = $PDO;
376 376
             unset($PDO);
377 377
 
378 378
         }
379 379
 
380
-        return $this->instance[ $instant ];
380
+        return $this->instance[$instant];
381 381
     }
382 382
 
383 383
     /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Zenddisk/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @author Lucas Brucksch <[email protected]>
11 11
  *
12 12
  */
13
-declare(strict_types=1);
13
+declare(strict_types = 1);
14 14
 
15 15
 namespace Phpfastcache\Drivers\Zenddisk;
16 16
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Redis/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Redis;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Wincache/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Wincache;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Memcache/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Memcache;
17 17
 
Please login to merge, or discard this patch.