summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2021-04-12 19:15:29 +0100
committerGreg Roach <fisharebest@gmail.com>2021-04-12 19:15:29 +0100
commit4aad292207641aee7eebaa5007f26859efa5eac8 (patch)
tree130ac39ec4c6ca9a91f663d32deea200a005a268 /phpstan-baseline.neon
parent2491533a9fd7308ab2ead391fea537b8302fbf47 (diff)
downloadwebtrees-4aad292207641aee7eebaa5007f26859efa5eac8.tar.gz
webtrees-4aad292207641aee7eebaa5007f26859efa5eac8.tar.bz2
webtrees-4aad292207641aee7eebaa5007f26859efa5eac8.zip
Regenerate baseline for phpstan
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon25
1 files changed, 15 insertions, 10 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index b891dd7b61..69d65232a0 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -315,6 +315,11 @@ parameters:
path: app/Http/RequestHandlers/EditRawRecordAction.php
-
+ message: "#^Parameter \\#1 \\$hostname of function gethostbyname expects string, string\\|false given\\.$#"
+ count: 1
+ path: app/Http/RequestHandlers/EmailPreferencesPage.php
+
+ -
message: "#^Parameter \\#1 \\$stream of function stream_get_meta_data expects resource, resource\\|false given\\.$#"
count: 1
path: app/Http/RequestHandlers/ExportGedcomClient.php
@@ -850,6 +855,11 @@ parameters:
path: app/Module/IndividualFactsTabModule.php
-
+ message: "#^Method Fisharebest\\\\Webtrees\\\\Module\\\\IndividualFactsTabModule\\:\\:historicFacts\\(\\) should return Illuminate\\\\Support\\\\Collection&iterable\\<Fisharebest\\\\Webtrees\\\\Fact\\> but returns Illuminate\\\\Support\\\\Collection&iterable\\<Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface\\>\\.$#"
+ count: 1
+ path: app/Module/IndividualFactsTabModule.php
+
+ -
message: "#^Parameter \\#1 \\$gedcom of class Fisharebest\\\\Webtrees\\\\Fact constructor expects string, string\\|null given\\.$#"
count: 1
path: app/Module/IndividualFactsTabModule.php
@@ -980,6 +990,11 @@ parameters:
path: app/Module/ReviewChangesModule.php
-
+ message: "#^Call to an undefined method Sabre\\\\VObject\\\\Node\\:\\:add\\(\\)\\.$#"
+ count: 3
+ path: app/Module/ShareAnniversaryModule.php
+
+ -
message: "#^Property Fisharebest\\\\Webtrees\\\\Module\\\\SourcesTabModule\\:\\:\\$facts type has no value type specified in iterable type Illuminate\\\\Support\\\\Collection\\.$#"
count: 1
path: app/Module/SourcesTabModule.php
@@ -1525,16 +1540,6 @@ parameters:
path: app/Services/ClipboardService.php
-
- message: "#^Method Fisharebest\\\\Webtrees\\\\Services\\\\EmailService\\:\\:localDomain\\(\\) should return string but returns string\\|false\\.$#"
- count: 1
- path: app/Services/EmailService.php
-
- -
- message: "#^Parameter \\#1 \\$hostname of function gethostbyname expects string, string\\|false given\\.$#"
- count: 1
- path: app/Services/EmailService.php
-
- -
message: "#^Method Fisharebest\\\\Webtrees\\\\Services\\\\GedcomExportService\\:\\:convertMediaPath\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: app/Services/GedcomExportService.php