diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-01-27 11:59:35 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-01-27 13:05:06 +0000 |
| commit | 66ecd01738ea7f89ee5b1944d4d969facd03cb4e (patch) | |
| tree | bf8bbadb611d94637deb83252d561d6925db69b0 /phpstan-baseline.neon | |
| parent | 203ccf04b147f0ec286f7c6e225c38732cc1e521 (diff) | |
| download | webtrees-66ecd01738ea7f89ee5b1944d4d969facd03cb4e.tar.gz webtrees-66ecd01738ea7f89ee5b1944d4d969facd03cb4e.tar.bz2 webtrees-66ecd01738ea7f89ee5b1944d4d969facd03cb4e.zip | |
Change signature of Date::display() to avoid having to use container as psuedo-global variable for $tree
Diffstat (limited to 'phpstan-baseline.neon')
| -rw-r--r-- | phpstan-baseline.neon | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a3aca36007..1de231d5fc 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -36,21 +36,6 @@ parameters: path: app/Date.php - - message: "#^Cannot call method getPreference\\(\\) on mixed\\.$#" - count: 1 - path: app/Date.php - - - - message: "#^Cannot call method has\\(\\) on mixed\\.$#" - count: 1 - path: app/Date.php - - - - message: "#^Parameter \\#2 \\$tree of method Fisharebest\\\\Webtrees\\\\Date\\\\AbstractCalendarDate\\:\\:calendarUrl\\(\\) expects Fisharebest\\\\Webtrees\\\\Tree, mixed given\\.$#" - count: 4 - path: app/Date.php - - - message: "#^Method Fisharebest\\\\Webtrees\\\\Elements\\\\AbstractElement\\:\\:canonicalText\\(\\) should return string but returns string\\|null\\.$#" count: 1 path: app/Elements/AbstractElement.php @@ -627,7 +612,7 @@ parameters: - message: "#^Cannot call method instance\\(\\) on mixed\\.$#" - count: 2 + count: 1 path: app/Http/Middleware/Router.php - |
