Passed
Push — develop ( b9ec32...f8791e )
by David
02:08 queued 01:43
created
src/Sql/Exception/ExecutionErrorException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
  *
34 34
  * @author David Schoenbauer <[email protected]>
35 35
  */
36
-class ExecutionErrorException extends BadRequestException implements SqlExceptionInterface{
36
+class ExecutionErrorException extends BadRequestException implements SqlExceptionInterface {
37 37
 
38 38
 }
Please login to merge, or discard this patch.
src/Sql/Exception/SqlExceptionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,5 +32,5 @@
 block discarded – undo
32 32
  *
33 33
  * @author David Schoenbauer <[email protected]>
34 34
  */
35
-interface SqlExceptionInterface extends ExceptionInterface{
35
+interface SqlExceptionInterface extends ExceptionInterface {
36 36
 }
Please login to merge, or discard this patch.
src/Sql/Exception/EmptyDatasetException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
  *
34 34
  * @author David Schoenbauer <[email protected]>
35 35
  */
36
-class EmptyDatasetException extends BadRequestException implements SqlExceptionInterface{
36
+class EmptyDatasetException extends BadRequestException implements SqlExceptionInterface {
37 37
     
38 38
 }
Please login to merge, or discard this patch.
src/Sql/Query.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  */
41 41
 class Query {
42 42
     
43
-    public static function with(){
43
+    public static function with() {
44 44
         return new static();
45 45
     }
46 46
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * @param WhereStatementInterface $where
68 68
      * @return Delete
69 69
      */
70
-    public function delete($table, WhereStatementInterface $where = null){
70
+    public function delete($table, WhereStatementInterface $where = null) {
71 71
         return new Delete($table, $where);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
src/Sql/Where/ArrayWhere.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $suffix = $keyPrefix = ($this->getUseParanthesis() ? ")" : "");
69 69
 
70 70
         return $prefix . implode($keyPrefix . ' ' . $this->getFieldOperator() . ' ' . $keySuffix, array_map(function($key, $value) use ($keySalt) {
71
-                            $saltedKey = $key . "-" .$keySalt;
71
+                            $saltedKey = $key . "-" . $keySalt;
72 72
                             $this->addData($saltedKey, $value);
73 73
                             return sprintf('%s = :%s', $key, $saltedKey);
74 74
                         }, array_keys($assocArray), array_values($assocArray))) . $suffix;
Please login to merge, or discard this patch.