Passed
Push — master ( 0a88e0...4fd3a2 )
by Rémy
02:19
created
Source/Rorm.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * Please make sure you keep the quoter as long you are needing it.
88 88
      *
89 89
      * @param \PDO $dbh
90
-     * @return callable
90
+     * @return \Closure
91 91
      */
92 92
     public static function getIdentifierQuoter(PDO $dbh = null)
93 93
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
         } elseif ($value === null) {
78 78
             return 'NULL';
79 79
         } elseif (is_int($value)) {
80
-            return (int)$value;
80
+            return (int) $value;
81 81
         } elseif (is_float($value)) {
82
-            return (float)$value;
82
+            return (float) $value;
83 83
         }
84 84
         return $dbh->quote($value);
85 85
     }
@@ -97,12 +97,12 @@  discard block
 block discarded – undo
97 97
 
98 98
         if (static::isMySQL($dbh)) {
99 99
             // mysql mode
100
-            return function ($identifier) {
100
+            return function($identifier) {
101 101
                 return '`' . str_replace('`', '``', $identifier) . '`';
102 102
             };
103 103
         } else {
104 104
             // standard sql mode
105
-            return function ($identifier) {
105
+            return function($identifier) {
106 106
                 return '"' . str_replace('"', '""', $identifier) . '"';
107 107
             };
108 108
         }
Please login to merge, or discard this patch.
Source/Query.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Source/QueryBuilder.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -379,11 +379,11 @@  discard block
 block discarded – undo
379 379
 
380 380
         // limit
381 381
         if ($this->limit !== null) {
382
-            $query .= ' LIMIT ' . (int)$this->limit;
382
+            $query .= ' LIMIT ' . (int) $this->limit;
383 383
 
384 384
             // offset
385 385
             if ($this->offset !== null) {
386
-                $query .= ' OFFSET ' . (int)$this->offset;
386
+                $query .= ' OFFSET ' . (int) $this->offset;
387 387
             }
388 388
         }
389 389
 
@@ -444,6 +444,6 @@  discard block
 block discarded – undo
444 444
         $count = $this->findColumn();
445 445
         $this->select = $select;
446 446
 
447
-        return $count === null ? null : (int)$count;
447
+        return $count === null ? null : (int) $count;
448 448
     }
449 449
 }
Please login to merge, or discard this patch.
Source/QueryBuilderException.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author Rémy M. Böhler <[email protected]>
4
- */
3
+     * @author Rémy M. Böhler <[email protected]>
4
+     */
5 5
 
6 6
 namespace Rorm;
7 7
 
Please login to merge, or discard this patch.