summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-10-29 22:08:14 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-10-29 22:08:14 +0000
commited23124507562a981387971bbcebc955609ae370 (patch)
treeb4576a53519328135b7681e12ee029b85bd0eca1 /phpstan-baseline.neon
parent39006dfb4f86f527d62c0ec9782e6b8609d673dd (diff)
downloadwebtrees-ed23124507562a981387971bbcebc955609ae370.tar.gz
webtrees-ed23124507562a981387971bbcebc955609ae370.tar.bz2
webtrees-ed23124507562a981387971bbcebc955609ae370.zip
Update PHP dependencies
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon45
1 files changed, 5 insertions, 40 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index ca08acefd0..861da7f93f 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -41,6 +41,11 @@ parameters:
path: app/Cli/Commands/TreeExport.php
-
+ message: "#^Unknown parameter \\$suggestedValues in call to method Symfony\\\\Component\\\\Console\\\\Command\\\\Command\\:\\:addArgument\\(\\)\\.$#"
+ count: 1
+ path: app/Cli/Commands/TreeExport.php
+
+ -
message: "#^Parameter \\$email of method Fisharebest\\\\Webtrees\\\\Services\\\\UserService\\:\\:create\\(\\) expects string, mixed given\\.$#"
count: 1
path: app/Cli/Commands/UserCreate.php
@@ -571,11 +576,6 @@ parameters:
path: app/Http/RequestHandlers/AutoCompleteCitation.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Fisharebest\\\\Webtrees\\\\Individual\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Individual\\>\\|iterable\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Individual\\>, Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Family\\> given\\.$#"
- count: 1
- path: app/Http/RequestHandlers/AutoCompleteCitation.php
-
- -
message: "#^Cannot call method fullName\\(\\) on Fisharebest\\\\Webtrees\\\\GedcomRecord\\|null\\.$#"
count: 1
path: app/Http/RequestHandlers/CalendarEvents.php
@@ -2166,11 +2166,6 @@ parameters:
path: app/Module/HtmlBlockModule.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<int,string\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, string\\>\\|iterable\\<int, string\\>, Illuminate\\\\Support\\\\Collection\\<int, mixed\\> given\\.$#"
- count: 2
- path: app/Module/IndividualFactsTabModule.php
-
- -
message: "#^Cannot call method xref\\(\\) on Fisharebest\\\\Webtrees\\\\Family\\|null\\.$#"
count: 1
path: app/Module/InteractiveTree/TreeView.php
@@ -2711,11 +2706,6 @@ parameters:
path: app/Module/RecentChangesModule.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),Fisharebest\\\\Webtrees\\\\Individual\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Individual\\>\\|iterable\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Individual\\>, Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Fisharebest\\\\Webtrees\\\\Family\\> given\\.$#"
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
message: "#^Cannot call method getMap\\(\\) on mixed\\.$#"
count: 1
path: app/Module/RedirectLegacyUrlsModule.php
@@ -2796,11 +2786,6 @@ parameters:
path: app/Module/ResearchTaskModule.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<int,Fisharebest\\\\Webtrees\\\\Individual\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, Fisharebest\\\\Webtrees\\\\Individual\\>\\|iterable\\<int, Fisharebest\\\\Webtrees\\\\Individual\\>, Illuminate\\\\Support\\\\Collection\\<int, Fisharebest\\\\Webtrees\\\\Family\\> given\\.$#"
- count: 1
- path: app/Module/ResearchTaskModule.php
-
- -
message: "#^Cannot access property \\$new_gedcom on mixed\\.$#"
count: 1
path: app/Module/ReviewChangesModule.php
@@ -2841,11 +2826,6 @@ parameters:
path: app/Module/ShareAnniversaryModule.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<int,Fisharebest\\\\Webtrees\\\\Fact\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, Fisharebest\\\\Webtrees\\\\Fact\\>\\|iterable\\<int, Fisharebest\\\\Webtrees\\\\Fact\\>, Illuminate\\\\Support\\\\Collection\\<int, Illuminate\\\\Support\\\\Collection\\<int, Fisharebest\\\\Webtrees\\\\Fact\\>\\> given\\.$#"
- count: 1
- path: app/Module/ShareAnniversaryModule.php
-
- -
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:map\\(\\) expects callable\\(mixed, int\\|string\\)\\: Fisharebest\\\\Webtrees\\\\Family, Closure\\(object\\)\\: Fisharebest\\\\Webtrees\\\\Family given\\.$#"
count: 1
path: app/Module/SiteMapModule.php
@@ -3821,11 +3801,6 @@ parameters:
path: app/Services/CalendarService.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<string,Fisharebest\\\\Webtrees\\\\Individual\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<string, Fisharebest\\\\Webtrees\\\\Individual\\>\\|iterable\\<string, Fisharebest\\\\Webtrees\\\\Individual\\>, Illuminate\\\\Support\\\\Collection\\<int, Fisharebest\\\\Webtrees\\\\Individual\\> given\\.$#"
- count: 1
- path: app/Services/ChartService.php
-
- -
message: "#^Cannot access offset string on mixed\\.$#"
count: 2
path: app/Services/ClipboardService.php
@@ -4046,16 +4021,6 @@ parameters:
path: app/Services/IndividualFactsService.php
-
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<int,Fisharebest\\\\Webtrees\\\\Fact\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, Fisharebest\\\\Webtrees\\\\Fact\\>\\|iterable\\<int, Fisharebest\\\\Webtrees\\\\Fact\\>, Illuminate\\\\Support\\\\Collection\\<int, mixed\\> given\\.$#"
- count: 2
- path: app/Services/IndividualFactsService.php
-
- -
- message: "#^Parameter \\#1 \\$items of method Illuminate\\\\Support\\\\Collection\\<int,Fisharebest\\\\Webtrees\\\\Individual\\>\\:\\:merge\\(\\) expects Illuminate\\\\Contracts\\\\Support\\\\Arrayable\\<int, Fisharebest\\\\Webtrees\\\\Individual\\>\\|iterable\\<int, Fisharebest\\\\Webtrees\\\\Individual\\>, Illuminate\\\\Support\\\\Collection\\<int, Fisharebest\\\\Webtrees\\\\Family\\> given\\.$#"
- count: 2
- path: app/Services/IndividualFactsService.php
-
- -
message: "#^Parameter \\#2 \\$spouse of method Fisharebest\\\\Webtrees\\\\Services\\\\IndividualFactsService\\:\\:spouseFacts\\(\\) expects Fisharebest\\\\Webtrees\\\\Individual, Fisharebest\\\\Webtrees\\\\Individual\\|null given\\.$#"
count: 1
path: app/Services/IndividualFactsService.php