diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index b17e72b0f6a..c3a7ef521d6 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1925,11 +1925,6 @@ parameters: count: 1 path: app/Individual.php - - - message: "#^Binary operation \"\\.\" between non\\-falsy\\-string and array\\\\|string results in an error\\.$#" - count: 1 - path: app/Individual.php - - message: "#^Cannot access property \\$gedcom on mixed\\.$#" count: 1 @@ -2177,7 +2172,7 @@ parameters: - message: "#^Cannot call method findByComponent\\(\\) on mixed\\.$#" - count: 2 + count: 3 path: app/Module/CloudsTheme.php - @@ -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\\\\|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\\\\|false\\.$#" + count: 1 path: app/Report/ReportParserGenerate.php - - message: "#^Cannot access offset float\\|int on array\\\\|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\\\\|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 - @@ -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\\|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 @@ -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