summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-02-28 09:26:52 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-11-27 19:45:03 +0000
commitf117d295282d6129a796c4a62dd364e5c306c903 (patch)
treeae495feef18afbfac20503d91b1f8d0130d462aa /phpstan-baseline.neon
parent60df783763b7bb201c1baf033ce1dca79fff1ce7 (diff)
downloadwebtrees-f117d295282d6129a796c4a62dd364e5c306c903.tar.gz
webtrees-f117d295282d6129a796c4a62dd364e5c306c903.tar.bz2
webtrees-f117d295282d6129a796c4a62dd364e5c306c903.zip
PHP 8.0 - resource -> GdImage
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 57e4863ed7..a163c836a0 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1316,11 +1316,6 @@ parameters:
path: app/Module/FanChartModule.php
-
- message: "#^Parameter \\#1 \\$image of function imagecolorallocate expects GdImage, resource given\\.$#"
- count: 1
- path: app/Module/FanChartModule.php
-
- -
message: "#^Parameter \\#1 \\$image of function imagecolortransparent expects GdImage, GdImage\\|false given\\.$#"
count: 1
path: app/Module/FanChartModule.php
@@ -1351,7 +1346,7 @@ parameters:
path: app/Module/FanChartModule.php
-
- message: "#^Parameter \\#1 \\$image of method Fisharebest\\\\Webtrees\\\\Module\\\\FanChartModule\\:\\:imageColor\\(\\) expects resource, GdImage\\|false given\\.$#"
+ message: "#^Parameter \\#1 \\$image of method Fisharebest\\\\Webtrees\\\\Module\\\\FanChartModule\\:\\:imageColor\\(\\) expects GdImage, GdImage\\|false given\\.$#"
count: 4
path: app/Module/FanChartModule.php