Skip to content

Commit

Permalink
Update phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Oct 6, 2023
1 parent ad28471 commit bc3350a
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1925,11 +1925,6 @@ parameters:
count: 1
path: app/Individual.php

-
message: "#^Binary operation \"\\.\" between non\\-falsy\\-string and array\\<int, string\\>\\|string results in an error\\.$#"
count: 1
path: app/Individual.php

-
message: "#^Cannot access property \\$gedcom on mixed\\.$#"
count: 1
Expand Down Expand Up @@ -2177,7 +2172,7 @@ parameters:

-
message: "#^Cannot call method findByComponent\\(\\) on mixed\\.$#"
count: 2
count: 3
path: app/Module/CloudsTheme.php

-
Expand Down Expand Up @@ -3716,23 +3711,23 @@ parameters:
path: app/Report/ReportParserGenerate.php

-
message: "#^Cannot access offset 0 on array\\{0\\: int, 1\\: int, 2\\: int, 3\\: string, mime\\: string, channels\\?\\: int, bits\\?\\: int\\}\\|false\\.$#"
count: 3
message: "#^Cannot access offset \\(float\\|int\\) on array\\<int, string\\>\\|false\\.$#"
count: 13
path: app/Report/ReportParserGenerate.php

-
message: "#^Cannot access offset 1 on array\\{0\\: int, 1\\: int, 2\\: int, 3\\: string, mime\\: string, channels\\?\\: int, bits\\?\\: int\\}\\|false\\.$#"
count: 3
message: "#^Cannot access offset \\(float\\|int\\<1, max\\>\\) on array\\<int, string\\>\\|false\\.$#"
count: 1
path: app/Report/ReportParserGenerate.php

-
message: "#^Cannot access offset float\\|int on array\\<int, string\\>\\|false\\.$#"
count: 13
message: "#^Cannot access offset 0 on array\\{0\\: int, 1\\: int, 2\\: int, 3\\: string, mime\\: string, channels\\?\\: int, bits\\?\\: int\\}\\|false\\.$#"
count: 3
path: app/Report/ReportParserGenerate.php

-
message: "#^Cannot access offset float\\|int\\<1, max\\> on array\\<int, string\\>\\|false\\.$#"
count: 1
message: "#^Cannot access offset 1 on array\\{0\\: int, 1\\: int, 2\\: int, 3\\: string, mime\\: string, channels\\?\\: int, bits\\?\\: int\\}\\|false\\.$#"
count: 3
path: app/Report/ReportParserGenerate.php

-
Expand Down Expand Up @@ -3975,11 +3970,6 @@ parameters:
count: 1
path: app/Report/ReportPdfText.php

-
message: "#^Method Fisharebest\\\\Webtrees\\\\Report\\\\ReportPdfText\\:\\:getWidth\\(\\) should return array\\{float, int, float\\} but returns array\\{array\\<float\\>\\|float\\|int, 1, int\\<0, max\\>\\}\\.$#"
count: 1
path: app/Report/ReportPdfText.php

-
message: "#^Instanceof between Fisharebest\\\\Webtrees\\\\Report\\\\ReportBaseElement and Fisharebest\\\\Webtrees\\\\Report\\\\ReportPdfFootnote will always evaluate to false\\.$#"
count: 1
Expand Down Expand Up @@ -4350,6 +4340,11 @@ parameters:
count: 1
path: app/Services/PendingChangesService.php

-
message: "#^Binary operation \"\\*\" between 365 and 0\\|string results in an error\\.$#"
count: 1
path: app/Services/SearchService.php

-
message: "#^Binary operation \"\\*\" between 365 and string results in an error\\.$#"
count: 1
Expand Down

0 comments on commit bc3350a

Please sign in to comment.