Passed
Push — master ( dbed77...896806 )
by Adrien
12:38
created
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DateTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param null|string|string[] $separators
14 14
      * @param string[] $formatBlocks
15 15
      */
16
-    public function testDate(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
16
+    public function testDate(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
17 17
     {
18 18
         $wizard = new Date($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param null|string|string[] $separators
14 14
      * @param string[] $formatBlocks
15 15
      */
16
-    public function testTime(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
16
+    public function testTime(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
17 17
     {
18 18
         $wizard = new Duration($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/RefRangeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerRefRange
13 13
      */
14
-    public function testRefRange(int|string $expectedResult, string $rangeString): void
14
+    public function testRefRange(int | string $expectedResult, string $rangeString): void
15 15
     {
16 16
         $spreadsheet = new Spreadsheet();
17 17
         $sheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Information/IsOddTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @dataProvider providerIsOdd
20 20
      */
21
-    public function testIsOdd(bool|string $expectedResult, mixed $value): void
21
+    public function testIsOdd(bool | string $expectedResult, mixed $value): void
22 22
     {
23 23
         $result = Value::isOdd($value);
24 24
         self::assertEquals($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Information/IsEvenTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @dataProvider providerIsEven
20 20
      */
21
-    public function testIsEven(bool|string $expectedResult, mixed $value): void
21
+    public function testIsEven(bool | string $expectedResult, mixed $value): void
22 22
     {
23 23
         $result = Value::isEven($value);
24 24
         self::assertEquals($expectedResult, $result);
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/Information/ErrorTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @dataProvider providerErrorType
19 19
      */
20
-    public function testErrorType(int|string $expectedResult, mixed $value): void
20
+    public function testErrorType(int | string $expectedResult, mixed $value): void
21 21
     {
22 22
         $result = ExcelError::type($value);
23 23
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * @dataProvider providerDVarP
12 12
      */
13
-    public function testDirectCallToDVarP(float|string $expectedResult, array $database, ?string $field, array $criteria): void
13
+    public function testDirectCallToDVarP(float | string $expectedResult, array $database, ?string $field, array $criteria): void
14 14
     {
15 15
         $result = DVarP::evaluate($database, $field, $criteria);
16 16
         self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12);
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @dataProvider providerDVarP
21 21
      */
22
-    public function testDVarPAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void
22
+    public function testDVarPAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void
23 23
     {
24 24
         $this->prepareWorksheetWithFormula('DVARP', $database, $field, $criteria);
25 25
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * @dataProvider providerDStDev
12 12
      */
13
-    public function testDirectCallToDStDev(float|string $expectedResult, array $database, ?string $field, array $criteria): void
13
+    public function testDirectCallToDStDev(float | string $expectedResult, array $database, ?string $field, array $criteria): void
14 14
     {
15 15
         $result = DStDev::evaluate($database, $field, $criteria);
16 16
         self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12);
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @dataProvider providerDStDev
21 21
      */
22
-    public function testDStDevAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void
22
+    public function testDStDevAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void
23 23
     {
24 24
         $this->prepareWorksheetWithFormula('DSTDEV', $database, $field, $criteria);
25 25
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * @dataProvider providerDCount
12 12
      */
13
-    public function testDirectCallToDCount(int|string $expectedResult, array $database, string|int|null $field, array $criteria): void
13
+    public function testDirectCallToDCount(int | string $expectedResult, array $database, string | int | null $field, array $criteria): void
14 14
     {
15 15
         $result = DCount::evaluate($database, $field, $criteria);
16 16
         self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12);
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @dataProvider providerDCount
21 21
      */
22
-    public function testDCountAsWorksheetFormula(int|string $expectedResult, array $database, string|int|null $field, array $criteria): void
22
+    public function testDCountAsWorksheetFormula(int | string $expectedResult, array $database, string | int | null $field, array $criteria): void
23 23
     {
24 24
         $this->prepareWorksheetWithFormula('DCOUNT', $database, $field, $criteria);
25 25
 
Please login to merge, or discard this patch.