Passed
Push — master ( f2cade...8ecc02 )
by Mauro
01:55
created
tests/BaseTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     protected function checkIfTableExists(Connection $connection, $table)
80 80
     {
81 81
         try {
82
-            $query = 'SELECT count(*) as c FROM ' . $table;
82
+            $query = 'SELECT count(*) as c FROM '.$table;
83 83
             $connection->executeQuery($query);
84 84
         } catch (\Exception $e) {
85 85
             return false;
Please login to merge, or discard this patch.
src/Importer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
         foreach ($queries as $query) {
265 265
             $stmt = $this->dbal->prepare($query);
266 266
             $c = 1;
267
-            $dataSliced = array_slice($this->data, ($start*$limit), $limit);
267
+            $dataSliced = array_slice($this->data, ($start * $limit), $limit);
268 268
 
269 269
             foreach ($dataSliced as $item) {
270 270
                 $this->bindValuesToItem($item, $stmt, $c);
Please login to merge, or discard this patch.
src/QueryBuilder/AbstractQueryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,11 +110,11 @@
 block discarded – undo
110 110
      */
111 111
     protected function getQueriesBody($mode)
112 112
     {
113
-        if($mode == 'multiple'){
113
+        if ($mode == 'multiple') {
114 114
             return $this->getMultipleInsertQueriesBody(self::MULTIPLE_QUERY_IMPORT_LIMIT);
115 115
         }
116 116
 
117
-        return $this->getSingleInsertQueriesBody();;
117
+        return $this->getSingleInsertQueriesBody(); ;
118 118
     }
119 119
 
120 120
     /**
Please login to merge, or discard this patch.