summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-02-01 16:50:30 +0000
committerGreg Roach <greg@subaqua.co.uk>2021-02-02 16:52:32 +0000
commitc2ed51d13a57743094c11c8fe84befd9d4f158cd (patch)
tree4f2d541fed3550f5d64f9754e9d37f5e9b9ce447 /phpstan-baseline.neon
parent4d2b9c53c95ad846160295dd8f4136a5b53f9f7b (diff)
downloadwebtrees-c2ed51d13a57743094c11c8fe84befd9d4f158cd.tar.gz
webtrees-c2ed51d13a57743094c11c8fe84befd9d4f158cd.tar.bz2
webtrees-c2ed51d13a57743094c11c8fe84befd9d4f158cd.zip
Merge GEDCOM element code from 2.1 branch
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon35
1 files changed, 30 insertions, 5 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index c45581e805..0b6b91b277 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -16,6 +16,26 @@ parameters:
path: app/Date/AbstractCalendarDate.php
-
+ message: "#^Parameter \\#1 \\$commonMark of method League\\\\CommonMark\\\\Converter\\:\\:convertToHtml\\(\\) expects string, string\\|null given\\.$#"
+ count: 1
+ path: app/Elements/AbstractElement.php
+
+ -
+ message: "#^Method Fisharebest\\\\Webtrees\\\\Elements\\\\DateValue\\:\\:escape\\(\\) should return string but returns string\\|null\\.$#"
+ count: 1
+ path: app/Elements/DateValue.php
+
+ -
+ message: "#^Method Fisharebest\\\\Webtrees\\\\Elements\\\\LanguageId\\:\\:canonical\\(\\) should return string but returns string\\|null\\.$#"
+ count: 1
+ path: app/Elements/LanguageId.php
+
+ -
+ message: "#^Parameter \\#1 \\$num of function dechex expects int, float\\|int given\\.$#"
+ count: 1
+ path: app/Elements/PafUid.php
+
+ -
message: "#^Method Fisharebest\\\\Webtrees\\\\Fact\\:\\:getNotes\\(\\) should return array\\<Fisharebest\\\\Webtrees\\\\Note\\|string\\> but returns array\\<int, array\\|Fisharebest\\\\Webtrees\\\\Note\\|string\\|null\\>\\.$#"
count: 1
path: app/Fact.php
@@ -221,7 +241,12 @@ parameters:
-
message: "#^Parameter \\#1 \\$stack of function array_shift expects array, array\\<int, string\\>\\|false given\\.$#"
- count: 2
+ count: 3
+ path: app/GedcomRecord.php
+
+ -
+ message: "#^Method Fisharebest\\\\Webtrees\\\\GedcomRecord\\:\\:insertMissingSubtags\\(\\) should return string but returns string\\|null\\.$#"
+ count: 1
path: app/GedcomRecord.php
-
@@ -907,12 +932,12 @@ parameters:
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
count: 1
- path: modules_v4/example.disable/module.php
+ path: modules_v4/example-footer.disable/module.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
count: 1
- path: modules_v4/example-theme.disable/module.php
+ path: modules_v4/example-middleware.disable/module.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
@@ -922,12 +947,12 @@ parameters:
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
count: 1
- path: modules_v4/example-middleware.disable/module.php
+ path: modules_v4/example-theme.disable/module.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
count: 1
- path: modules_v4/example-footer.disable/module.php
+ path: modules_v4/example.disable/module.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"