Completed
Push — master ( e647cd...a0585d )
by Daniel
06:11
created
source/MySQLiByDanielGP.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      */
359 359
     protected function getRowDataFromTable($tableName, $filtersArray)
360 360
     {
361
-        $query   = $this->sQueryRowsFromTable([
361
+        $query = $this->sQueryRowsFromTable([
362 362
             $tableName,
363 363
             $this->setArrayToFilterValues($filtersArray),
364 364
         ]);
@@ -720,7 +720,7 @@  discard block
 block discarded – undo
720 720
                     case 'array_numbered':
721 721
                     case 'array_pairs_key_value':
722 722
                     case 'full_array_key_numbered':
723
-                        $aReturn           = $this->setMySQLquery2ServerByPattern([
723
+                        $aReturn = $this->setMySQLquery2ServerByPattern([
724 724
                             'NoOfColumns' => $result->field_count,
725 725
                             'NoOfRows'    => $result->num_rows,
726 726
                             'QueryResult' => $result,
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
                         break;
731 731
                     case 'full_array_key_numbered_with_record_number_prefix':
732 732
                     case 'full_array_key_numbered_with_prefix':
733
-                        $aReturn           = $this->setMySQLquery2ServerByPattern([
733
+                        $aReturn = $this->setMySQLquery2ServerByPattern([
734 734
                             'NoOfColumns' => $result->field_count,
735 735
                             'NoOfRows'    => $result->num_rows,
736 736
                             'QueryResult' => $result,
Please login to merge, or discard this patch.
source/DomComponentsByDanielGP.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
                                     . $aElements[$rCntr][$value] . '"/>';
412 412
                             break;
413 413
                         case 'edit':
414
-                            $edt           = '';
414
+                            $edt = '';
415 415
                             if (isset($ftrs['NoAjaxEditing'])) {
416 416
                                 $edt .= $_SERVER['PHP_SELF'] . '?' . $actPrfx
417 417
                                         . $action_key . '=' . $value[0] . '&';
@@ -479,7 +479,7 @@  discard block
 block discarded – undo
479 479
                     switch ($value[1]) {
480 480
                         case '/':
481 481
                             // next variable is only to avoid a long line
482
-                            $shorter                 = [
482
+                            $shorter = [
483 483
                                 $aElements[$rCntr][$value[3]],
484 484
                                 $aElements[$rCntr][$value[4]],
485 485
                             ];
@@ -487,7 +487,7 @@  discard block
 block discarded – undo
487 487
                             break;
488 488
                         case '+':
489 489
                             // next variable is only to avoid a long line
490
-                            $iTemp                   = $this->setArrayValuesAsKey([
490
+                            $iTemp = $this->setArrayValuesAsKey([
491 491
                                 $value[0],
492 492
                                 $value[1],
493 493
                                 $value[2]
@@ -846,7 +846,7 @@  discard block
 block discarded – undo
846 846
                                         . filter_var($value, FILTER_SANITIZE_STRING) . '">';
847 847
                                 break;
848 848
                             case 'title':
849
-                                $aFeatures[]                 = '<title>'
849
+                                $aFeatures[] = '<title>'
850 850
                                         . filter_var($value, FILTER_SANITIZE_STRING) . '</title>';
851 851
                                 break;
852 852
                         }
Please login to merge, or discard this patch.
source/CommonBasic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             'Name'                   => $info->getRealPath(),
59 59
             'Type'                   => $info->getType(),
60 60
         ];
61
-        $aDetails          = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven));
61
+        $aDetails = array_merge($aFileBasicDetails, $this->getFileDetailsRawStatistic($info, $fileGiven));
62 62
         ksort($aDetails);
63 63
         return $aDetails;
64 64
     }
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      */
215 215
     protected function setJsonErrorInPlainEnglish()
216 216
     {
217
-        $knownErrors  = [
217
+        $knownErrors = [
218 218
             JSON_ERROR_NONE           => null,
219 219
             JSON_ERROR_DEPTH          => 'Maximum stack depth exceeded',
220 220
             JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch',
Please login to merge, or discard this patch.
source/DomCssAndJavascriptByDanielGPwithCDN.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             'highcharts' => 'setJavascriptFileCDNforHighCharts',
134 134
             'exporting'  => 'setJavascriptFileCDNforHighChartsExporting',
135 135
         ];
136
-        $rootFN     = pathinfo($sFileParts[0])['basename'];
136
+        $rootFN = pathinfo($sFileParts[0])['basename'];
137 137
         if (array_key_exists($rootFN, $knownFNs)) {
138 138
             return call_user_func([$this, $knownFNs[$rootFN]], pathinfo($jsFileName)['basename']);
139 139
         }
Please login to merge, or discard this patch.
source/MySQLiAdvancedOutput.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
                 }
177 177
                 $input = $this->setStringIntoShortTag('input', $inAdtnl);
178 178
             } else {
179
-                $query         = $this->sQueryGenericSelectKeyValue([
179
+                $query = $this->sQueryGenericSelectKeyValue([
180 180
                     $fkArray[$value['COLUMN_NAME']][1],
181 181
                     $fkArray[$value['COLUMN_NAME']][2],
182 182
                     $fkArray[$value['COLUMN_NAME']][0]
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
             }
224 224
         }
225 225
         if (isset($foreignKeysArray)) {
226
-            $query   = $this->storedQuery('generic_select_key_value', [
226
+            $query = $this->storedQuery('generic_select_key_value', [
227 227
                 $foreignKeysArray[$value['COLUMN_NAME']][1],
228 228
                 $foreignKeysArray[$value['COLUMN_NAME']][2],
229 229
                 $foreignKeysArray[$value['COLUMN_NAME']][0]
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
             if (!is_null($iar)) {
236 236
                 $inAdtnl = array_merge($inAdtnl, $iar);
237 237
             }
238
-            $slct  = [
238
+            $slct = [
239 239
                 'Options' => $this->setQuery2Server($query, 'array_key_value'),
240 240
                 'Value'   => $this->getFieldValue($value),
241 241
             ];
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
         if (isset($this->advCache['tableFKs'][$database][$tblName])) {
436 436
             foreach ($this->advCache['tableFKs'][$database][$tblName] as $value) {
437 437
                 if ($value['COLUMN_NAME'] == $onlyCol) {
438
-                    $query                  = $this->sQueryMySqlColumns([
438
+                    $query = $this->sQueryMySqlColumns([
439 439
                         'TABLE_SCHEMA' => $value['REFERENCED_TABLE_SCHEMA'],
440 440
                         'TABLE_NAME'   => $value['REFERENCED_TABLE_NAME'],
441 441
                         'DATA_TYPE'    => [
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
                 $sReturn[] = $this->setNeededField($tblSrc, $value, $feat);
572 572
             }
573 573
         }
574
-        $btn[]                = $this->setStringIntoShortTag('input', [
574
+        $btn[] = $this->setStringIntoShortTag('input', [
575 575
             'type'  => 'submit',
576 576
             'id'    => 'submit',
577 577
             'style' => 'margin-left:220px;',
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
                         'id'    => $key,
605 605
                         'value' => $value,
606 606
                     ]);
607
-                    $sReturn[]   = $this->setStringIntoTag($hiddenInput, 'div');
607
+                    $sReturn[] = $this->setStringIntoTag($hiddenInput, 'div');
608 608
                 }
609 609
             }
610 610
         }
Please login to merge, or discard this patch.