Passed
Push — master ( f2aa8d...153a1c )
by Petr
13:28 queued 05:17
created
php-src/Mappers/Database/AReadWriteDatabase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         foreach ($this->relations as $localAlias => $remoteColumn) {
196 196
             $this->readQueryBuilder->addColumn($this->getTable(), $remoteColumn, $localAlias);
197 197
         }
198
-        $this->readQueryBuilder->setLimits(0,1);
198
+        $this->readQueryBuilder->setLimits(0, 1);
199 199
 
200 200
         // query itself
201 201
         $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams());
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         }
251 251
 
252 252
         // query itself
253
-        $this->readQueryBuilder->setLimits(0,1);
253
+        $this->readQueryBuilder->setLimits(0, 1);
254 254
         $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams());
255 255
         if (empty($lines)) {
256 256
             return false;
Please login to merge, or discard this patch.
php-src/Storage/Database/Odbc/AOdbc.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         $this->connect();
52 52
 
53
-        list($updQuery, $binds, ) = $this->bindFromNamedToQuestions($query, $params);
53
+        list($updQuery, $binds,) = $this->bindFromNamedToQuestions($query, $params);
54 54
         $statement = odbc_prepare($this->connection, $updQuery); // @phpstan-ignore-line
55 55
 
56 56
         if ((false !== $statement) && odbc_execute($statement, $binds)) { // @phpstan-ignore-line
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             }
62 62
 
63 63
             $numFields = odbc_num_fields($statement);
64
-            for ($i=1; $i<=$numFields; $i++) {
64
+            for ($i = 1; $i <= $numFields; $i++) {
65 65
                 // odbc starts its indexes at 1 but since I am
66 66
                 // trying to emulate the functionality of *_fetch_array
67 67
                 // for other dbs (ie mysql) I'm going to decrement my
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
         $this->connect();
92 92
 
93
-        list($updQuery, $binds, ) = $this->bindFromNamedToQuestions($query, $params);
93
+        list($updQuery, $binds,) = $this->bindFromNamedToQuestions($query, $params);
94 94
         $statement = odbc_prepare($this->connection, strval($updQuery));
95 95
         if (false !== $statement) {
96 96
             $result = odbc_execute($statement, $binds); // @phpstan-ignore-line
Please login to merge, or discard this patch.