Failed Conditions
Pull Request — master (#3876)
by Abdul Malik
22:45 queued 13:31
created
src/PhpSpreadsheet/Cell/DataValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         return $returnValue;
53 53
     }
54 54
 
55
-    private function numericOperator(DataValidation $dataValidation, int|float $cellValue): bool
55
+    private function numericOperator(DataValidation $dataValidation, int | float $cellValue): bool
56 56
     {
57 57
         $operator = $dataValidation->getOperator();
58 58
         $formula1 = $dataValidation->getFormula1();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @dataProvider binderProvider
17 17
      */
18
-    public function testBindValue(null|string|bool|int|float|DateTime|DateTimeImmutable $value): void
18
+    public function testBindValue(null | string | bool | int | float | DateTime | DateTimeImmutable $value): void
19 19
     {
20 20
         $spreadsheet = new Spreadsheet();
21 21
         $sheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DateTimeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param null|string|string[] $separators
16 16
      * @param string[] $formatBlocks
17 17
      */
18
-    public function testDateTime(string $expectedResult, string|null|array $separators, array $formatBlocks): void
18
+    public function testDateTime(string $expectedResult, string | null | array $separators, array $formatBlocks): void
19 19
     {
20 20
         $wizard = new DateTime($separators, ...$formatBlocks);
21 21
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/TimeTest.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 Time($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
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.