Passed
Pull Request — main (#1)
by Konrad
04:20
created
store/ARC2_Store.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@
 block discarded – undo
521 521
 
522 522
         $r = preg_replace("/^(.*[\/\#])([^\/\#]+)$/", '\\2', str_replace('#self', '', $res));
523 523
         $r = str_replace('_', ' ', $r);
524
-        $r = preg_replace_callback('/([a-z])([A-Z])/', function ($matches) {
524
+        $r = preg_replace_callback('/([a-z])([A-Z])/', function($matches) {
525 525
             return $matches[1].' '.strtolower($matches[2]);
526 526
         }, $r);
527 527
 
Please login to merge, or discard this patch.
store/ARC2_StoreSelectQueryHandler.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
                                 in_array($var, $aggregate_vars)
231 231
                                     ? 'literal'
232 232
                                     : 'uri'
233
-                              );
233
+                                );
234 234
                         if (isset($pre_row[$var.' lang_dt']) && ($lang_dt = $pre_row[$var.' lang_dt'])) {
235 235
                             if (preg_match('/^([a-z]+(\-[a-z0-9]+)*)$/i', $lang_dt)) {
236 236
                                 $row[$var.' lang'] = $lang_dt;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -488,14 +488,14 @@
 block discarded – undo
488 488
     public function getQuerySQL()
489 489
     {
490 490
         $nl = "\n";
491
-        $where_sql = $this->getWHERESQL();  /* pre-fills $index['sub_joins'] $index['constraints'] */
492
-        $order_sql = $this->getORDERSQL();  /* pre-fills $index['sub_joins'] $index['constraints'] */
491
+        $where_sql = $this->getWHERESQL(); /* pre-fills $index['sub_joins'] $index['constraints'] */
492
+        $order_sql = $this->getORDERSQL(); /* pre-fills $index['sub_joins'] $index['constraints'] */
493 493
 
494 494
         return ''.(
495 495
             $this->is_union_query
496 496
                 ? 'SELECT'
497 497
                 : 'SELECT'.$this->getDistinctSQL()).$nl.
498
-                    $this->getResultVarsSQL().$nl. /* fills $index['sub_joins'] */
498
+                    $this->getResultVarsSQL().$nl./* fills $index['sub_joins'] */
499 499
                     $this->getFROMSQL().
500 500
                     $this->getAllJoinsSQL().
501 501
                     $this->getWHERESQL().
Please login to merge, or discard this patch.
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.