summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-12-17 17:24:48 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-12-17 17:31:32 +0000
commit04f1956d2d72484d8c129ef2905e93a9752b779c (patch)
treea305944148cd9416a366184b87e9d479866aa083 /phpstan-baseline.neon
parent08b85f53acb6a10f939a00df9d675ff9e35d5e7c (diff)
downloadwebtrees-04f1956d2d72484d8c129ef2905e93a9752b779c.tar.gz
webtrees-04f1956d2d72484d8c129ef2905e93a9752b779c.tar.bz2
webtrees-04f1956d2d72484d8c129ef2905e93a9752b779c.zip
Remove oscarotero/middleland - it triggers deprecations on PHP 8.4
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon38
1 files changed, 10 insertions, 28 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index ef2baed9b1..d63d13526b 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1303,19 +1303,19 @@ parameters:
path: app/Http/Middleware/RequestHandler.php
-
- message: '#^Parameter \#1 \$key of method Illuminate\\Support\\Collection\<\(int\|string\),Fisharebest\\Webtrees\\Tree\>\:\:get\(\) expects \(int\|string\), mixed given\.$#'
- identifier: argument.type
+ message: '#^Only iterables can be unpacked, mixed given\.$#'
+ identifier: arrayUnpacking.nonIterable
count: 1
path: app/Http/Middleware/Router.php
-
- message: '#^Parameter \#1 \$middleware of class Middleland\\Dispatcher constructor expects array\<array\|Closure\|Psr\\Http\\Server\\MiddlewareInterface\|string\>, non\-empty\-array given\.$#'
+ message: '#^Parameter \#1 \$key of method Illuminate\\Support\\Collection\<\(int\|string\),Fisharebest\\Webtrees\\Tree\>\:\:get\(\) expects \(int\|string\), mixed given\.$#'
identifier: argument.type
count: 1
path: app/Http/Middleware/Router.php
-
- message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#'
+ message: '#^Parameter \$middleware of static method Fisharebest\\Webtrees\\Http\\Dispatcher\:\:dispatch\(\) expects list\<class\-string\|Psr\\Http\\Server\\MiddlewareInterface\>, non\-empty\-array given\.$#'
identifier: argument.type
count: 1
path: app/Http/Middleware/Router.php
@@ -2167,7 +2167,7 @@ parameters:
path: app/Http/RequestHandlers/MapDataImportAction.php
-
- message: '#^Parameter \#1 \$str of function strtr expects string, mixed given\.$#'
+ message: '#^Parameter \#1 \$str of function strtr expects string, string\|null given\.$#'
identifier: argument.type
count: 2
path: app/Http/RequestHandlers/MapDataImportAction.php
@@ -6421,19 +6421,19 @@ parameters:
path: app/Report/ReportParserGenerate.php
-
- message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\|null\>\.$#'
+ message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<Fisharebest\\Webtrees\\GedcomRecord\|null\>\.$#'
identifier: assign.propertyType
- count: 2
+ count: 1
path: app/Report/ReportParserGenerate.php
-
- message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<int, Fisharebest\\Webtrees\\GedcomRecord\|null\>\.$#'
+ message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\|null\>\.$#'
identifier: assign.propertyType
- count: 1
+ count: 2
path: app/Report/ReportParserGenerate.php
-
- message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<int\|string, Fisharebest\\Webtrees\\GedcomRecord\|null\>\.$#'
+ message: '#^Property Fisharebest\\Webtrees\\Report\\ReportParserGenerate\:\:\$list \(array\<Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\>\) does not accept array\<int, Fisharebest\\Webtrees\\GedcomRecord\|null\>\.$#'
identifier: assign.propertyType
count: 1
path: app/Report/ReportParserGenerate.php
@@ -6883,12 +6883,6 @@ parameters:
path: app/Services/GedcomEditService.php
-
- message: '#^Parameter \#2 \$array of function implode expects array\<string\>, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomEditService.php
-
- -
message: '#^Parameter \#2 \$array of function implode expects array\|null, mixed given\.$#'
identifier: argument.type
count: 1
@@ -7879,12 +7873,6 @@ parameters:
path: app/Statistics/Google/ChartAge.php
-
- message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, int\|string given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartAge.php
-
- -
message: '#^Parameter \#1 \$num of function round expects float\|int, mixed given\.$#'
identifier: argument.type
count: 2
@@ -8125,12 +8113,6 @@ parameters:
path: app/Statistics/Google/ChartMarriageAge.php
-
- message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, int\|string given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartMarriageAge.php
-
- -
message: '#^Parameter \#1 \$num of function round expects float\|int, mixed given\.$#'
identifier: argument.type
count: 2