Skip to content

Commit

Permalink
Update phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Dec 3, 2021
1 parent 34ed513 commit 59289d5
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ parameters:
path: app/Helpers/functions.php

-
message: "#^Strict comparison using \\=\\=\\= between '\\-dev' and '' will always evaluate to false\\.$#"
message: "#^Strict comparison using \\=\\=\\= between '\\-alpha\\.2' and '' will always evaluate to false\\.$#"
count: 1
path: app/Helpers/functions.php

Expand Down Expand Up @@ -1066,7 +1066,7 @@ parameters:
path: app/Http/RequestHandlers/MapDataImportAction.php

-
message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, string\\|false given\\.$#"
message: "#^Parameter \\#1 \\$haystack of function str_contains expects string\\|null, string\\|false given\\.$#"
count: 1
path: app/Http/RequestHandlers/MapDataImportAction.php

Expand Down Expand Up @@ -1166,7 +1166,7 @@ parameters:
path: app/Http/RequestHandlers/ModuleAction.php

-
message: "#^Parameter \\#1 \\$haystack of function str_contains expects string, mixed given\\.$#"
message: "#^Parameter \\#1 \\$haystack of function str_contains expects string\\|null, mixed given\\.$#"
count: 1
path: app/Http/RequestHandlers/ModuleAction.php

Expand Down Expand Up @@ -3000,6 +3000,11 @@ parameters:
count: 1
path: app/Report/ReportParserBase.php

-
message: "#^Property Fisharebest\\\\Webtrees\\\\Report\\\\ReportParserBase\\:\\:\\$xml_parser has unknown class XMLParser as its type\\.$#"
count: 1
path: app/Report/ReportParserBase.php

-
message: "#^Array \\(array\\<string\\>\\) does not accept array\\<int, string\\>\\.$#"
count: 1
Expand Down Expand Up @@ -3150,6 +3155,16 @@ parameters:
count: 4
path: app/Report/ReportParserGenerate.php

-
message: "#^Property Fisharebest\\\\Webtrees\\\\Report\\\\ReportParserGenerate\\:\\:\\$parser has unknown class XMLParser as its type\\.$#"
count: 1
path: app/Report/ReportParserGenerate.php

-
message: "#^Property Fisharebest\\\\Webtrees\\\\Report\\\\ReportParserGenerate\\:\\:\\$parser_stack has unknown class XMLParser as its type\\.$#"
count: 1
path: app/Report/ReportParserGenerate.php

-
message: "#^Property Fisharebest\\\\Webtrees\\\\Report\\\\ReportParserGenerate\\:\\:\\$print_data \\(bool\\) does not accept bool\\|null\\.$#"
count: 4
Expand Down

0 comments on commit 59289d5

Please sign in to comment.