Test Failed
Push — tmp ( 15f615...89cc97 )
by Paul
10:31 queued 04:40
created
plugin/Database/QuerySql.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function sqlFrom()
44 44
     {
45
-        $from = "FROM {$this->table('ratings')} r";
45
+        $from = "from {$this->table('ratings')} r";
46 46
         $from = glsr()->filterString('query/sql/from', $from, $this);
47 47
         return $from;
48 48
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         ];
156 156
         $select = glsr()->filterArray('query/sql/select', $select, $this);
157 157
         $select = implode(', ', $select);
158
-        return "SELECT {$select}";
158
+        return "select {$select}";
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.