Skip to content

Commit 222b79b

Browse files
author
MarkBaker
committed
Ensure that master can still merge in cleanly... knowing that if I don't do this reasonably regularly, then merge conflicts could easily become a problem
1 parent 7ff8e8b commit 222b79b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4215,6 +4215,11 @@ parameters:
42154215
count: 1
42164216
path: src/PhpSpreadsheet/Style/NumberFormat/PercentageFormatter.php
42174217

4218+
-
4219+
message: "#^Cannot use array destructuring on array\\<string\\>\\|string\\.$#"
4220+
count: 1
4221+
path: src/PhpSpreadsheet/Worksheet/AutoFilter.php
4222+
42184223
-
42194224
message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\CellIterator\\:\\:adjustForExistingOnlyRange\\(\\) has no return type specified\\.$#"
42204225
count: 1
@@ -5494,3 +5499,4 @@ parameters:
54945499
message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Xlfn\\:\\:addXlfn\\(\\) should return string but returns string\\|null\\.$#"
54955500
count: 1
54965501
path: src/PhpSpreadsheet/Writer/Xlsx/Xlfn.php
5502+

tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SequenceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function providerSEQUENCE(): array
2323
return require 'tests/data/Calculation/MathTrig/SEQUENCE.php';
2424
}
2525

26-
public function testSequenceAsCellFormula()
26+
public function testSequenceAsCellFormula(): void
2727
{
2828
$sheet = $this->getSheet();
2929
$sheet->getCell('B2')->setValue('=SEQUENCE(3,3,9,-1)', true, 'B2:D4');
@@ -35,7 +35,7 @@ public function testSequenceAsCellFormula()
3535
self::assertSame(5, $sheet->getCell('C3')->getCalculatedValue());
3636
}
3737

38-
public function testSequenceAsCellFormulaAsArray()
38+
public function testSequenceAsCellFormulaAsArray(): void
3939
{
4040
$sheet = $this->getSheet();
4141
$sheet->getCell('B2')->setValue('=SEQUENCE(3,3,9,-1)', true, 'B2:D4');

0 commit comments

Comments
 (0)