Passed
Pull Request — master (#3718)
by Adrien
13:25
created
Category
tests/PhpSpreadsheetTests/Reader/Csv/CsvIssue2232Test.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
     /**
31 31
      * @dataProvider providerIssue2232
32 32
      */
33
-    public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool|string $b2Value, bool|string $b3Value): void
33
+    public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool | string $b2Value, bool | string $b3Value): void
34 34
     {
35 35
         if ($useStringBinder) {
36 36
             $binder = new StringValueBinder();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Csv/CsvTest.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 providerDelimiterDetection
13 13
      */
14
-    public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string|float|int|null $expectedValue): void
14
+    public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string | float | int | null $expectedValue): void
15 15
     {
16 16
         $reader = new Csv();
17 17
         $delim1 = $reader->getDelimiter();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.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
     /**
14 14
      * @dataProvider providerIntyFloatsRetainedByWriter
15 15
      */
16
-    public function testIntyFloatsRetainedByWriter(float|int $value): void
16
+    public function testIntyFloatsRetainedByWriter(float | int $value): void
17 17
     {
18 18
         $outputFilename = File::temporaryFilename();
19 19
         $spreadsheet = new Spreadsheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Shared/Date2Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @param float|int $value
44 44
      */
45
-    public function testTimeOnly(int|float $expectedResult, int|float|string $value, ?string $format = null): void
45
+    public function testTimeOnly(int | float $expectedResult, int | float | string $value, ?string $format = null): void
46 46
     {
47 47
         Cell::setCalculateDateTimeType(Cell::CALCULATE_TIME_FLOAT);
48 48
         $this->spreadsheet = new Spreadsheet();
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * @dataProvider providerDateAndTime
89 89
      */
90
-    public function testDateAndTime(int|float $expectedResult, int|float|string $value, ?string $format = null): void
90
+    public function testDateAndTime(int | float $expectedResult, int | float | string $value, ?string $format = null): void
91 91
     {
92 92
         Cell::setCalculateDateTimeType(Cell::CALCULATE_DATE_TIME_FLOAT);
93 93
         $this->spreadsheet = new Spreadsheet();
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * @dataProvider providerAsis
134 134
      */
135
-    public function testDefault(int|float $expectedResult, int|float|string $value, ?string $format = null): void
135
+    public function testDefault(int | float $expectedResult, int | float | string $value, ?string $format = null): void
136 136
     {
137 137
         //Cell::setCalculateDateTimeType(Cell::CALCULATE_DATE_TIME_ASIS);
138 138
         $this->spreadsheet = new Spreadsheet();
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * @dataProvider providerAsis
156 156
      */
157
-    public function testAsis(int|float $expectedResult, int|float|string $value, ?string $format = null): void
157
+    public function testAsis(int | float $expectedResult, int | float | string $value, ?string $format = null): void
158 158
     {
159 159
         Cell::setCalculateDateTimeType(Cell::CALCULATE_DATE_TIME_ASIS);
160 160
         $this->spreadsheet = new Spreadsheet();
Please login to merge, or discard this patch.