Passed
Push — master ( f9b1b7...3922d9 )
by
unknown
18:56 queued 11:14
created
src/PhpSpreadsheet/Style/NumberFormat/Wizard/DateTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $this->formatBlocks = array_map([$this, 'mapFormatBlocks'], $formatBlocks);
29 29
     }
30 30
 
31
-    private function mapFormatBlocks(DateTimeWizard|string $value): string
31
+    private function mapFormatBlocks(DateTimeWizard | string $value): string
32 32
     {
33 33
         // Any date masking codes are returned as lower case values
34 34
         if ($value instanceof DateTimeWizard) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter/Column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
      *
253 253
      * @param string $name Attribute Name
254 254
      */
255
-    public function getAttribute(string $name): null|float|int|string
255
+    public function getAttribute(string $name): null | float | int | string
256 256
     {
257 257
         if (isset($this->attributes[$name])) {
258 258
             return $this->attributes[$name];
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/CellValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /** @param null|bool|float|int|string $value value to be wrapped */
73
-    protected function wrapValue(mixed $value, string $operandValueType): float|int|string
73
+    protected function wrapValue(mixed $value, string $operandValueType): float | int | string
74 74
     {
75 75
         if (!is_numeric($value) && !is_bool($value) && null !== $value) {
76 76
             if ($operandValueType === Wizard::VALUE_TYPE_LITERAL) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Operations.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
24 24
      *            with the same dimensions
25 25
      */
26
-    public static function mod(mixed $dividend, mixed $divisor): array|string|float
26
+    public static function mod(mixed $dividend, mixed $divisor): array | string | float
27 27
     {
28 28
         if (is_array($dividend) || is_array($divisor)) {
29 29
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $dividend, $divisor);
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
60 60
      *            with the same dimensions
61 61
      */
62
-    public static function power(null|array|bool|float|int|string $x, null|array|bool|float|int|string $y): array|float|int|string
62
+    public static function power(null | array | bool | float | int | string $x, null | array | bool | float | int | string $y): array | float | int | string
63 63
     {
64 64
         if (is_array($x) || is_array($y)) {
65 65
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $y);
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param mixed ...$args Data values
98 98
      */
99
-    public static function product(mixed ...$args): string|float
99
+    public static function product(mixed ...$args): string | float
100 100
     {
101 101
         $args = array_filter(
102 102
             Functions::flattenArray($args),
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @return array|int|string If an array of numbers is passed as an argument, then the returned result will also be an array
137 137
      *            with the same dimensions
138 138
      */
139
-    public static function quotient(mixed $numerator, mixed $denominator): array|string|int
139
+    public static function quotient(mixed $numerator, mixed $denominator): array | string | int
140 140
     {
141 141
         if (is_array($numerator) || is_array($denominator)) {
142 142
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $numerator, $denominator);
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<CellAddress>|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/Calculation/Internal/ExcelArrayPseudoFunctions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         return $result;
40 40
     }
41 41
 
42
-    public static function anchorArray(string $cellReference, Cell $cell): array|string
42
+    public static function anchorArray(string $cellReference, Cell $cell): array | string
43 43
     {
44 44
         //$coordinate = $cell->getCoordinate();
45 45
         $worksheet = $cell->getWorksheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Gnumeric/ArrayFormulaTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         string $cellAddress,
29 29
         string $expectedRange,
30 30
         string $expectedFormula,
31
-        array|float $expectedValue
31
+        array | float $expectedValue
32 32
     ): void {
33 33
         $filename = 'tests/data/Reader/Gnumeric/ArrayFormulaTest.gnumeric';
34 34
         $reader = new Gnumeric();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Ods/ArrayFormulaTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         string $cellAddress,
29 29
         string $expectedRange,
30 30
         string $expectedFormula,
31
-        array|float $expectedValue
31
+        array | float $expectedValue
32 32
     ): void {
33 33
         $filename = 'tests/data/Reader/Ods/ArrayFormulaTest.ods';
34 34
         $reader = new Ods();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Information/ErrorValue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
19 19
      *            with the same dimensions
20 20
      */
21
-    public static function isErr(mixed $value = ''): array|bool
21
+    public static function isErr(mixed $value = ''): array | bool
22 22
     {
23 23
         if (is_array($value)) {
24 24
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
37 37
      *            with the same dimensions
38 38
      */
39
-    public static function isError(mixed $value = '', bool $tryNotImplemented = false): array|bool
39
+    public static function isError(mixed $value = '', bool $tryNotImplemented = false): array | bool
40 40
     {
41 41
         if (is_array($value)) {
42 42
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
62 62
      *            with the same dimensions
63 63
      */
64
-    public static function isNa(mixed $value = ''): array|bool
64
+    public static function isNa(mixed $value = ''): array | bool
65 65
     {
66 66
         if (is_array($value)) {
67 67
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
Please login to merge, or discard this patch.