summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-04-16 19:14:05 +0100
committerGreg Roach <greg@subaqua.co.uk>2022-04-16 19:15:24 +0100
commitda7adf569f1bb40c68e1e8851b07a63eeb99e820 (patch)
treea4c2b6aa5f88cd13326ad8f3e3c53520c80530cf /phpstan-baseline.neon
parent551058928d209f20b92e88ab47a905d66417bfb9 (diff)
downloadwebtrees-da7adf569f1bb40c68e1e8851b07a63eeb99e820.tar.gz
webtrees-da7adf569f1bb40c68e1e8851b07a63eeb99e820.tar.bz2
webtrees-da7adf569f1bb40c68e1e8851b07a63eeb99e820.zip
Prefer uppercase for RestrictionNotice fields. See #4308
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 52e92664cc..8c511aea62 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -46,14 +46,14 @@ parameters:
path: app/Elements/DateValue.php
-
- message: "#^Method Fisharebest\\\\Webtrees\\\\Elements\\\\LanguageId\\:\\:canonical\\(\\) should return string but returns string\\|null\\.$#"
+ message: "#^Parameter \\#1 \\$num of function dechex expects int, float\\|int given\\.$#"
count: 1
- path: app/Elements/LanguageId.php
+ path: app/Elements/PafUid.php
-
- message: "#^Parameter \\#1 \\$num of function dechex expects int, float\\|int given\\.$#"
+ message: "#^Method Fisharebest\\\\Webtrees\\\\Elements\\\\RestrictionNotice\\:\\:canonical\\(\\) should return string but returns string\\|null\\.$#"
count: 1
- path: app/Elements/PafUid.php
+ path: app/Elements/RestrictionNotice.php
-
message: "#^Cannot call method displayImage\\(\\) on mixed\\.$#"