Passed
Push — master ( b2d572...23b95e )
by Adrien
24:13 queued 11:27
created
src/PhpSpreadsheet/Calculation/Statistical/Distributions/HyperGeometric.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
31 31
      *            with the same dimensions
32 32
      */
33
-    public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array|string|float
33
+    public static function distribution(mixed $sampleSuccesses, mixed $sampleNumber, mixed $populationSuccesses, mixed $populationNumber): array | string | float
34 34
     {
35 35
         if (
36 36
             is_array($sampleSuccesses) || is_array($sampleNumber)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2144,7 +2144,7 @@  discard block
 block discarded – undo
2144 2144
      * @param float $scale_x The horizontal scale
2145 2145
      * @param float $scale_y The vertical scale
2146 2146
      */
2147
-    public function insertBitmap($row, $col, GdImage|string $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1): void
2147
+    public function insertBitmap($row, $col, GdImage | string $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1): void
2148 2148
     {
2149 2149
         $bitmap_array = $bitmap instanceof GdImage
2150 2150
             ? $this->processBitmapGd($bitmap)
@@ -2286,7 +2286,7 @@  discard block
 block discarded – undo
2286 2286
      * @param int $rwB Row containing bottom right corner of object
2287 2287
      * @param int $dyB Distance from bottom of cell
2288 2288
      */
2289
-    private function writeObjPicture(int $colL, int $dxL, int $rwT, int|float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void
2289
+    private function writeObjPicture(int $colL, int $dxL, int $rwT, int | float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void
2290 2290
     {
2291 2291
         $record = 0x005D; // Record identifier
2292 2292
         $length = 0x003C; // Bytes to follow
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/BestFit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
     {
425 425
         return array_sum(
426 426
             array_map(
427
-                fn ($value): float|int => $value ** 2,
427
+                fn ($value): float | int => $value ** 2,
428 428
                 $values
429 429
             )
430 430
         );
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Worksheet/Table/TableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     /**
159 159
      * @param AddressRange|array{0: int, 1: int, 2: int, 3: int}|array{0: int, 1: int}|string $fullRange
160 160
      */
161
-    public function xtestSetRangeValidRange(string|array|AddressRange $fullRange, string $actualRange): void
161
+    public function xtestSetRangeValidRange(string | array | AddressRange $fullRange, string $actualRange): void
162 162
     {
163 163
         $table = new Table(self::INITIAL_RANGE);
164 164
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Validations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      *               or as an array of [$fromColumnIndex, $fromRow, $toColumnIndex, $toRow] (e.g. [3, 5, 6, 12]),
64 64
      *               or as an AddressRange object.
65 65
      */
66
-    public static function validateCellRange(AddressRange|array|string $cellRange): string
66
+    public static function validateCellRange(AddressRange | array | string $cellRange): string
67 67
     {
68 68
         if (is_string($cellRange)) {
69 69
             [$worksheet, $addressRange] = Worksheet::extractSheetTitle($cellRange, true);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Cell/Coordinate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@
 block discarded – undo
320 320
      *
321 321
      * @param int|numeric-string $columnIndex Column index (A = 1)
322 322
      */
323
-    public static function stringFromColumnIndex(int|string $columnIndex): string
323
+    public static function stringFromColumnIndex(int | string $columnIndex): string
324 324
     {
325 325
         static $indexCache = [];
326 326
         static $lookupCache = ' ABCDEFGHIJKLMNOPQRSTUVWXYZ';
Please login to merge, or discard this patch.