Passed
Pull Request — master (#3718)
by Adrien
13:25
created
Category
src/PhpSpreadsheet/Calculation/Calculation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5260,7 +5260,7 @@  discard block
 block discarded – undo
5260 5260
      *
5261 5261
      * @return array
5262 5262
      */
5263
-    private function executeArrayComparison($operand1, $operand2, $operation, Stack &$stack, bool $recursingArrays)
5263
+    private function executeArrayComparison($operand1, $operand2, $operation, Stack & $stack, bool $recursingArrays)
5264 5264
     {
5265 5265
         $result = [];
5266 5266
         if (!is_array($operand2)) {
@@ -5306,7 +5306,7 @@  discard block
 block discarded – undo
5306 5306
      *
5307 5307
      * @return mixed
5308 5308
      */
5309
-    private function executeBinaryComparisonOperation($operand1, $operand2, $operation, Stack &$stack, bool $recursingArrays = false)
5309
+    private function executeBinaryComparisonOperation($operand1, $operand2, $operation, Stack & $stack, bool $recursingArrays = false)
5310 5310
     {
5311 5311
         //    If we're dealing with matrix operations, we want a matrix result
5312 5312
         if ((is_array($operand1)) || (is_array($operand2))) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -883,7 +883,7 @@
 block discarded – undo
883 883
      * @param int $row
884 884
      * @param string $column
885 885
      */
886
-    private function applyInlineStyle(Worksheet &$sheet, $row, $column, array $attributeArray): void
886
+    private function applyInlineStyle(Worksheet & $sheet, $row, $column, array $attributeArray): void
887 887
     {
888 888
         if (!isset($attributeArray['style'])) {
889 889
             return;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2323,7 +2323,7 @@
 block discarded – undo
2323 2323
      * @param int $rwB Row containing bottom right corner of object
2324 2324
      * @param int $dyB Distance from bottom of cell
2325 2325
      */
2326
-    private function writeObjPicture(int $colL, int $dxL, int $rwT, int|float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void
2326
+    private function writeObjPicture(int $colL, int $dxL, int $rwT, int | float $dyT, int $colR, int $dxR, int $rwB, int $dyB): void
2327 2327
     {
2328 2328
         $record = 0x005d; // Record identifier
2329 2329
         $length = 0x003c; // Bytes to follow
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/Worksheet/Table/TableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     /**
157 157
      * @param AddressRange|array<int>|string $fullRange
158 158
      */
159
-    public function xtestSetRangeValidRange(string|array|AddressRange $fullRange, string $actualRange): void
159
+    public function xtestSetRangeValidRange(string | array | AddressRange $fullRange, string $actualRange): void
160 160
     {
161 161
         $table = new Table(self::INITIAL_RANGE);
162 162
 
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.