Completed
Branch develop (2dd6cc)
by
unknown
26:03
created
includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/Matrix.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1178,7 +1178,7 @@
 block discarded – undo
1178 1178
             $this->checkMatrixDimensions($M);
1179 1179
             for ($i = 0; $i < $this->m; ++$i) {
1180 1180
                 for ($j = 0; $j < $this->n; ++$j) {
1181
-                    $this->A[$i][$j] = trim($this->A[$i][$j], '"') . trim($M->get($i, $j), '"');
1181
+                    $this->A[$i][$j] = trim($this->A[$i][$j], '"').trim($M->get($i, $j), '"');
1182 1182
                 }
1183 1183
             }
1184 1184
 
Please login to merge, or discard this patch.
phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $slope = $this->getSlope($dp);
49 49
         $intersect = $this->getIntersect($dp);
50 50
 
51
-        return 'Y = ' . $intersect . ' + ' . $slope . ' * log(X)';
51
+        return 'Y = '.$intersect.' + '.$slope.' * log(X)';
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PolynomialBestFit.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,12 +75,12 @@  discard block
 block discarded – undo
75 75
         $slope = $this->getSlope($dp);
76 76
         $intersect = $this->getIntersect($dp);
77 77
 
78
-        $equation = 'Y = ' . $intersect;
78
+        $equation = 'Y = '.$intersect;
79 79
         foreach ($slope as $key => $value) {
80 80
             if ($value != 0.0) {
81
-                $equation .= ' + ' . $value . ' * X';
81
+                $equation .= ' + '.$value.' * X';
82 82
                 if ($key > 0) {
83
-                    $equation .= '^' . ($key + 1);
83
+                    $equation .= '^'.($key + 1);
84 84
                 }
85 85
             }
86 86
         }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         if (!$this->error) {
188 188
             if ($order < $this->valueCount) {
189
-                $this->bestFitType .= '_' . $order;
189
+                $this->bestFitType .= '_'.$order;
190 190
                 $this->order = $order;
191 191
                 $this->polynomialRegression($order, $yValues, $xValues);
192 192
                 if (($this->getGoodnessOfFit() < 0.0) || ($this->getGoodnessOfFit() > 1.0)) {
Please login to merge, or discard this patch.
phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LinearBestFit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $slope = $this->getSlope($dp);
49 49
         $intersect = $this->getIntersect($dp);
50 50
 
51
-        return 'Y = ' . $intersect . ' + ' . $slope . ' * X';
51
+        return 'Y = '.$intersect.' + '.$slope.' * X';
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $slope = $this->getSlope($dp);
49 49
         $intersect = $this->getIntersect($dp);
50 50
 
51
-        return 'Y = ' . $intersect . ' * X^' . $slope;
51
+        return 'Y = '.$intersect.' * X^'.$slope;
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $slope = $this->getSlope($dp);
49 49
         $intersect = $this->getIntersect($dp);
50 50
 
51
-        return 'Y = ' . $intersect . ' * ' . $slope . '^X';
51
+        return 'Y = '.$intersect.' * '.$slope.'^X';
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/Trend.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             trigger_error('Trend(): Number of elements in coordinate arrays do not match.', E_USER_ERROR);
64 64
         }
65 65
 
66
-        $key = md5($trendType . $const . serialize($yValues) . serialize($xValues));
66
+        $key = md5($trendType.$const.serialize($yValues).serialize($xValues));
67 67
         //    Determine which Trend method has been requested
68 68
         switch ($trendType) {
69 69
             //    Instantiate and return the class for the requested Trend method
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             case self::TREND_EXPONENTIAL:
73 73
             case self::TREND_POWER:
74 74
                 if (!isset(self::$trendCache[$key])) {
75
-                    $className = '\PhpOffice\PhpSpreadsheet\Shared\Trend\\' . $trendType . 'BestFit';
75
+                    $className = '\PhpOffice\PhpSpreadsheet\Shared\Trend\\'.$trendType.'BestFit';
76 76
                     self::$trendCache[$key] = new $className($yValues, $xValues, $const);
77 77
                 }
78 78
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                 //    If the request is to determine the best fit regression, then we test each Trend line in turn
94 94
                 //    Start by generating an instance of each available Trend method
95 95
                 foreach (self::$trendTypes as $trendMethod) {
96
-                    $className = '\PhpOffice\PhpSpreadsheet\Shared\Trend\\' . $trendType . 'BestFit';
96
+                    $className = '\PhpOffice\PhpSpreadsheet\Shared\Trend\\'.$trendType.'BestFit';
97 97
                     $bestFit[$trendMethod] = new $className($yValues, $xValues, $const);
98 98
                     $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit();
99 99
                 }
Please login to merge, or discard this patch.
phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
                 . pack('V', 0)// Extra BDList Count
259 259
             );
260 260
         } else {
261
-            fwrite($FILE, pack('V', $iAll + $iBdCnt) . pack('V', $iBdExL));
261
+            fwrite($FILE, pack('V', $iAll + $iBdCnt).pack('V', $iBdExL));
262 262
         }
263 263
 
264 264
         // BDList
Please login to merge, or discard this patch.
htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Xls.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,8 +266,8 @@
 block discarded – undo
266 266
         $x2 = ($width + 1) / self::sizeCol($sheet, Coordinate::stringFromColumnIndex($col_end)) * 1024; // Distance to right side of object
267 267
         $y2 = ($height + 1) / self::sizeRow($sheet, $row_end + 1) * 256; // Distance to bottom of object
268 268
 
269
-        $startCoordinates = Coordinate::stringFromColumnIndex($col_start) . ($row_start + 1);
270
-        $endCoordinates = Coordinate::stringFromColumnIndex($col_end) . ($row_end + 1);
269
+        $startCoordinates = Coordinate::stringFromColumnIndex($col_start).($row_start + 1);
270
+        $endCoordinates = Coordinate::stringFromColumnIndex($col_end).($row_end + 1);
271 271
 
272 272
         return [
273 273
             'startCoordinates' => $startCoordinates,
Please login to merge, or discard this patch.