Passed
Push — master ( cc5eb6...7e77a4 )
by Konrad
03:36
created
src/PDOSQLiteAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         /*
63 63
          * define CONCAT function (otherwise SQLite will throw an exception)
64 64
          */
65
-        $this->db->sqliteCreateFunction('CONCAT', function ($pattern, $string) {
65
+        $this->db->sqliteCreateFunction('CONCAT', function($pattern, $string) {
66 66
             $result = '';
67 67
 
68 68
             foreach (\func_get_args() as $str) {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         /*
76 76
          * define REGEXP function (otherwise SQLite will throw an exception)
77 77
          */
78
-        $this->db->sqliteCreateFunction('REGEXP', function ($pattern, $string) {
78
+        $this->db->sqliteCreateFunction('REGEXP', function($pattern, $string) {
79 79
             if (0 < preg_match('/'.$pattern.'/i', $string)) {
80 80
                 return true;
81 81
             }
Please login to merge, or discard this patch.
src/Store/QueryHandler/SelectQueryHandler.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
                                 \in_array($var, $aggregate_vars)
207 207
                                     ? 'literal'
208 208
                                     : 'uri'
209
-                              );
209
+                                );
210 210
                         if (
211 211
                             isset($pre_row[$var.' lang_dt'])
212 212
                             && ($lang_dt = $pre_row[$var.' lang_dt'])
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -480,14 +480,14 @@
 block discarded – undo
480 480
     private function getQuerySQL()
481 481
     {
482 482
         $nl = "\n";
483
-        $where_sql = $this->getWHERESQL();  /* pre-fills $index['sub_joins'] $index['constraints'] */
484
-        $order_sql = $this->getORDERSQL();  /* pre-fills $index['sub_joins'] $index['constraints'] */
483
+        $where_sql = $this->getWHERESQL(); /* pre-fills $index['sub_joins'] $index['constraints'] */
484
+        $order_sql = $this->getORDERSQL(); /* pre-fills $index['sub_joins'] $index['constraints'] */
485 485
 
486 486
         return ''.(
487 487
             $this->is_union_query
488 488
                 ? 'SELECT'
489 489
                 : 'SELECT'.$this->getDistinctSQL()).$nl.
490
-                    $this->getResultVarsSQL().$nl. /* fills $index['sub_joins'] */
490
+                    $this->getResultVarsSQL().$nl./* fills $index['sub_joins'] */
491 491
                     $this->getFROMSQL().
492 492
                     $this->getAllJoinsSQL().
493 493
                     $this->getWHERESQL().
Please login to merge, or discard this patch.
src/Store/InMemoryStoreSqlite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
             throw new Exception('Unsupported query type "'.$queryType.'"');
141 141
         }
142 142
 
143
-        $cls = match ($queryType) {
143
+        $cls = match($queryType) {
144 144
             'ask' => AskQueryHandler::class,
145 145
             'construct' => ConstructQueryHandler::class,
146 146
             'describe' => DescribeQueryHandler::class,
Please login to merge, or discard this patch.