Skip to content

Commit dd3ed49

Browse files
author
MarkBaker
committed
Trying to rationalise phpstan between local and CI
1 parent 65053d7 commit dd3ed49

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

phpstan-baseline.neon

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ parameters:
9595
count: 1
9696
path: src/PhpSpreadsheet/Calculation/Calculation.php
9797

98-
-
99-
message: "#^Negated boolean expression is always true\\.$#"
100-
count: 1
101-
path: src/PhpSpreadsheet/Calculation/Calculation.php
102-
10398
-
10499
message: "#^Offset 'type' does not exist on array\\|null\\.$#"
105100
count: 3
@@ -2295,11 +2290,6 @@ parameters:
22952290
count: 1
22962291
path: src/PhpSpreadsheet/Reader/Xls.php
22972292

2298-
-
2299-
message: "#^Right side of && is always true\\.$#"
2300-
count: 1
2301-
path: src/PhpSpreadsheet/Reader/Xls.php
2302-
23032293
-
23042294
message: "#^Unreachable statement \\- code above always terminates\\.$#"
23052295
count: 8
@@ -3010,11 +3000,6 @@ parameters:
30103000
count: 1
30113001
path: src/PhpSpreadsheet/Reader/Xlsx/SheetViewOptions.php
30123002

3013-
-
3014-
message: "#^Right side of && is always true\\.$#"
3015-
count: 1
3016-
path: src/PhpSpreadsheet/Reader/Xlsx/Styles.php
3017-
30183003
-
30193004
message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#"
30203005
count: 1
@@ -5255,6 +5240,11 @@ parameters:
52555240
count: 1
52565241
path: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php
52575242

5243+
-
5244+
message: "#^Negated boolean expression is always false\\.$#"
5245+
count: 1
5246+
path: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php
5247+
52585248
-
52595249
message: "#^Parameter \\#2 \\$content of method XMLWriter\\:\\:writeElement\\(\\) expects string\\|null, int\\|string given\\.$#"
52605250
count: 1
@@ -5295,6 +5285,11 @@ parameters:
52955285
count: 1
52965286
path: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php
52975287

5288+
-
5289+
message: "#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#"
5290+
count: 2
5291+
path: src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php
5292+
52985293
-
52995294
message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Xlfn\\:\\:addXlfn\\(\\) should return string but returns string\\|null\\.$#"
53005295
count: 1

0 commit comments

Comments
 (0)