Completed
Branch develop (aa6d31)
by
unknown
24:05
created
htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Date.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
         $seconds = round($partDay * 60);
188 188
 
189 189
         if ($days >= 0) {
190
-            $days = '+' . $days;
190
+            $days = '+'.$days;
191 191
         }
192
-        $interval = $days . ' days';
192
+        $interval = $days.' days';
193 193
 
194 194
         return $baseDate->modify($interval)
195 195
             ->setTime((int) $hours, (int) $minutes, (int) $seconds);
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
             return false;
267 267
         }
268 268
 
269
-        return self::dateTimeToExcel(new \DateTime('@' . $dateValue));
269
+        return self::dateTimeToExcel(new \DateTime('@'.$dateValue));
270 270
     }
271 271
 
272 272
     /**
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
             return false;
399 399
         }
400 400
         // Try checking for any of the date formatting characters that don't appear within square braces
401
-        if (preg_match('/(^|\])[^\[]*[' . self::$possibleDateFormatCharacters . ']/i', $pFormatCode)) {
401
+        if (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i', $pFormatCode)) {
402 402
             //    We might also have a format mask containing quoted strings...
403 403
             //        we don't want to test for any of our characters within the quoted blocks
404 404
             if (strpos($pFormatCode, '"') !== false) {
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
                 foreach (explode('"', $pFormatCode) as $subVal) {
407 407
                     //    Only test in alternate array entries (the non-quoted blocks)
408 408
                     if (($segMatcher = !$segMatcher) &&
409
-                        (preg_match('/(^|\])[^\[]*[' . self::$possibleDateFormatCharacters . ']/i', $subVal))) {
409
+                        (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i', $subVal))) {
410 410
                         return true;
411 411
                     }
412 412
                 }
Please login to merge, or discard this patch.
htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,11 +134,11 @@
 block discarded – undo
134 134
     public static function assertFile($filename)
135 135
     {
136 136
         if (!is_file($filename)) {
137
-            throw new InvalidArgumentException('File "' . $filename . '" does not exist.');
137
+            throw new InvalidArgumentException('File "'.$filename.'" does not exist.');
138 138
         }
139 139
 
140 140
         if (!is_readable($filename)) {
141
-            throw new InvalidArgumentException('Could not open "' . $filename . '" for reading.');
141
+            throw new InvalidArgumentException('Could not open "'.$filename.'" for reading.');
142 142
         }
143 143
     }
144 144
 }
Please login to merge, or discard this patch.
htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -233,12 +233,12 @@
 block discarded – undo
233 233
         $GLOBALS['_OLE_INSTANCES'][] = $this;
234 234
         $instanceId = end(array_keys($GLOBALS['_OLE_INSTANCES']));
235 235
 
236
-        $path = 'ole-chainedblockstream://oleInstanceId=' . $instanceId;
236
+        $path = 'ole-chainedblockstream://oleInstanceId='.$instanceId;
237 237
         if ($blockIdOrPps instanceof OLE\PPS) {
238
-            $path .= '&blockId=' . $blockIdOrPps->startBlock;
239
-            $path .= '&size=' . $blockIdOrPps->Size;
238
+            $path .= '&blockId='.$blockIdOrPps->startBlock;
239
+            $path .= '&size='.$blockIdOrPps->Size;
240 240
         } else {
241
-            $path .= '&blockId=' . $blockIdOrPps;
241
+            $path .= '&blockId='.$blockIdOrPps;
242 242
         }
243 243
 
244 244
         return fopen($path, 'r');
Please login to merge, or discard this patch.
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.