summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-11-22 19:38:28 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-11-22 19:38:28 +0000
commit36c4ba81565a87f7c3b4a11955f8e8261838ace5 (patch)
tree6dce4c55938ff69cfbbf3b7ce9abb85e947c3e98
parent5f52b64188c4f443eebeb985bb53134753a7560f (diff)
downloadwebtrees-36c4ba81565a87f7c3b4a11955f8e8261838ace5.tar.gz
webtrees-36c4ba81565a87f7c3b4a11955f8e8261838ace5.tar.bz2
webtrees-36c4ba81565a87f7c3b4a11955f8e8261838ace5.zip
Update PHP dependencies
-rw-r--r--composer.json6
-rw-r--r--composer.lock94
-rw-r--r--phpstan-baseline.neon1574
3 files changed, 186 insertions, 1488 deletions
diff --git a/composer.json b/composer.json
index 8185fe0423..12895e627c 100644
--- a/composer.json
+++ b/composer.json
@@ -48,8 +48,8 @@
"fisharebest/ext-calendar": "2.6.0",
"fisharebest/localization": "1.17.0",
"guzzlehttp/guzzle": "7.9.2",
- "illuminate/database": "11.30.0",
- "illuminate/support": "11.30.0",
+ "illuminate/database": "11.33.2",
+ "illuminate/support": "11.33.2",
"intervention/image": "3.9.1",
"io-developer/php-whois": "4.1.10",
"league/commonmark": "2.5.3",
@@ -69,7 +69,7 @@
"ramsey/uuid": "4.7.6",
"sabre/vobject": "4.5.6",
"symfony/cache": "7.1.7",
- "symfony/console": "7.1.7",
+ "symfony/console": "7.1.8",
"symfony/expression-language": "7.1.6",
"symfony/mailer": "7.1.6",
"symfony/polyfill-mbstring": "1.31.0",
diff --git a/composer.lock b/composer.lock
index 1a726130b3..9b9d489109 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "a76e10c6687c03ee695a91a47e342a25",
+ "content-hash": "6948a4925610ff7942a18066868cd0cf",
"packages": [
{
"name": "aura/router",
@@ -1123,16 +1123,16 @@
},
{
"name": "illuminate/collections",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/collections.git",
- "reference": "2d99ccbb19e34450508ff3ab2f62ba90aa2e9793"
+ "reference": "a01a9d0799700bf34ab3797988fdd5f420d42bfe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/2d99ccbb19e34450508ff3ab2f62ba90aa2e9793",
- "reference": "2d99ccbb19e34450508ff3ab2f62ba90aa2e9793",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/a01a9d0799700bf34ab3797988fdd5f420d42bfe",
+ "reference": "a01a9d0799700bf34ab3797988fdd5f420d42bfe",
"shasum": ""
},
"require": {
@@ -1174,11 +1174,11 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2024-10-10T19:23:07+00:00"
+ "time": "2024-11-15T15:43:48+00:00"
},
{
"name": "illuminate/conditionable",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/conditionable.git",
@@ -1224,16 +1224,16 @@
},
{
"name": "illuminate/container",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/container.git",
- "reference": "06dfc614aff58384b28ba5ad191f6a02d6b192cb"
+ "reference": "6e31eb49e9c9e68356a55cd8f18fb8830b8158cd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/container/zipball/06dfc614aff58384b28ba5ad191f6a02d6b192cb",
- "reference": "06dfc614aff58384b28ba5ad191f6a02d6b192cb",
+ "url": "https://api.github.com/repos/illuminate/container/zipball/6e31eb49e9c9e68356a55cd8f18fb8830b8158cd",
+ "reference": "6e31eb49e9c9e68356a55cd8f18fb8830b8158cd",
"shasum": ""
},
"require": {
@@ -1271,20 +1271,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2024-10-11T15:30:11+00:00"
+ "time": "2024-11-14T15:31:35+00:00"
},
{
"name": "illuminate/contracts",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
- "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8"
+ "reference": "44c15aec6ea0d997e0885aa5b04876fe8a141433"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/56312862af937bd6da8e6dc8bbd88188dfb478f8",
- "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/44c15aec6ea0d997e0885aa5b04876fe8a141433",
+ "reference": "44c15aec6ea0d997e0885aa5b04876fe8a141433",
"shasum": ""
},
"require": {
@@ -1319,20 +1319,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2024-09-22T15:08:08+00:00"
+ "time": "2024-11-15T15:40:33+00:00"
},
{
"name": "illuminate/database",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/database.git",
- "reference": "29500e97a251419a6e42aeebe4c07ccb174af5b3"
+ "reference": "47519c03c74290ad6b6565a758b4c1e22a43a061"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/database/zipball/29500e97a251419a6e42aeebe4c07ccb174af5b3",
- "reference": "29500e97a251419a6e42aeebe4c07ccb174af5b3",
+ "url": "https://api.github.com/repos/illuminate/database/zipball/47519c03c74290ad6b6565a758b4c1e22a43a061",
+ "reference": "47519c03c74290ad6b6565a758b4c1e22a43a061",
"shasum": ""
},
"require": {
@@ -1388,11 +1388,11 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2024-10-29T20:30:27+00:00"
+ "time": "2024-11-19T22:28:18+00:00"
},
{
"name": "illuminate/macroable",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/macroable.git",
@@ -1438,16 +1438,16 @@
},
{
"name": "illuminate/support",
- "version": "v11.30.0",
+ "version": "v11.33.2",
"source": {
"type": "git",
"url": "https://github.com/illuminate/support.git",
- "reference": "69453485fa4c76589b5a1a98ebef0e8fee749220"
+ "reference": "3e248061e77b67cdf868411e68cf17de524e3d1d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/69453485fa4c76589b5a1a98ebef0e8fee749220",
- "reference": "69453485fa4c76589b5a1a98ebef0e8fee749220",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/3e248061e77b67cdf868411e68cf17de524e3d1d",
+ "reference": "3e248061e77b67cdf868411e68cf17de524e3d1d",
"shasum": ""
},
"require": {
@@ -1510,7 +1510,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2024-10-29T20:21:52+00:00"
+ "time": "2024-11-19T19:46:19+00:00"
},
{
"name": "intervention/gif",
@@ -4044,16 +4044,16 @@
},
{
"name": "symfony/console",
- "version": "v7.1.7",
+ "version": "v7.1.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a"
+ "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/3284aafcac338b6e86fd955ee4d794cbe434151a",
- "reference": "3284aafcac338b6e86fd955ee4d794cbe434151a",
+ "url": "https://api.github.com/repos/symfony/console/zipball/ff04e5b5ba043d2badfb308197b9e6b42883fcd5",
+ "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5",
"shasum": ""
},
"require": {
@@ -4117,7 +4117,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v7.1.7"
+ "source": "https://github.com/symfony/console/tree/v7.1.8"
},
"funding": [
{
@@ -4133,7 +4133,7 @@
"type": "tidelift"
}
],
- "time": "2024-11-05T15:34:55+00:00"
+ "time": "2024-11-06T14:23:19+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -5228,16 +5228,16 @@
},
{
"name": "symfony/string",
- "version": "v7.1.6",
+ "version": "v7.1.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626"
+ "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/61b72d66bf96c360a727ae6232df5ac83c71f626",
- "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626",
+ "url": "https://api.github.com/repos/symfony/string/zipball/591ebd41565f356fcd8b090fe64dbb5878f50281",
+ "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281",
"shasum": ""
},
"require": {
@@ -5295,7 +5295,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v7.1.6"
+ "source": "https://github.com/symfony/string/tree/v7.1.8"
},
"funding": [
{
@@ -5311,7 +5311,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-25T14:20:29+00:00"
+ "time": "2024-11-13T13:31:21+00:00"
},
{
"name": "symfony/translation",
@@ -5635,16 +5635,16 @@
},
{
"name": "voku/portable-ascii",
- "version": "2.0.1",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/voku/portable-ascii.git",
- "reference": "b56450eed252f6801410d810c8e1727224ae0743"
+ "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743",
- "reference": "b56450eed252f6801410d810c8e1727224ae0743",
+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b1d923f88091c6bf09699efcd7c8a1b1bfd7351d",
+ "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d",
"shasum": ""
},
"require": {
@@ -5669,7 +5669,7 @@
"authors": [
{
"name": "Lars Moelleken",
- "homepage": "http://www.moelleken.org/"
+ "homepage": "https://www.moelleken.org/"
}
],
"description": "Portable ASCII library - performance optimized (ascii) string functions for php.",
@@ -5681,7 +5681,7 @@
],
"support": {
"issues": "https://github.com/voku/portable-ascii/issues",
- "source": "https://github.com/voku/portable-ascii/tree/2.0.1"
+ "source": "https://github.com/voku/portable-ascii/tree/2.0.3"
},
"funding": [
{
@@ -5705,7 +5705,7 @@
"type": "tidelift"
}
],
- "time": "2022-03-08T17:03:00+00:00"
+ "time": "2024-11-21T01:49:47+00:00"
}
],
"packages-dev": [
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 356d7eccfb..54c8b2bcc1 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -121,6 +121,12 @@ parameters:
path: app/Cli/Commands/TreeExport.php
-
+ message: '#^Parameter \$suggestedValues of method Symfony\\Component\\Console\\Command\\Command\:\:addArgument\(\) expects array\|\(Closure\(Symfony\\Component\\Console\\Completion\\CompletionInput, Symfony\\Component\\Console\\Completion\\CompletionSuggestions\)\: list\<string\|Symfony\\Component\\Console\\Completion\\Suggestion\>\), Closure\(Symfony\\Component\\Console\\Completion\\CompletionInput\)\: array\<string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Cli/Commands/TreeExport.php
+
+ -
message: '#^Binary operation "\." between ''A user with the…'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 2
@@ -691,12 +697,6 @@ parameters:
path: app/Factories/FamilyFactory.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Factories/FamilyFactory.php
-
- -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Factories\\FamilyFactory\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -1525,19 +1525,7 @@ parameters:
path: app/Http/RequestHandlers/AppleTouchIconPng.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\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/AutoCompleteCitation.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- 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\.$#'
+ 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\.$#'
identifier: argument.type
count: 1
path: app/Http/RequestHandlers/AutoCompleteCitation.php
@@ -1573,24 +1561,6 @@ parameters:
path: app/Http/RequestHandlers/CalendarEvents.php
-
- message: '#^Access to an undefined property object\:\:\$gedcom\.$#'
- identifier: property.notFound
- count: 11
- path: app/Http/RequestHandlers/CheckTree.php
-
- -
- message: '#^Access to an undefined property object\:\:\$type\.$#'
- identifier: property.notFound
- count: 38
- path: app/Http/RequestHandlers/CheckTree.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 46
- path: app/Http/RequestHandlers/CheckTree.php
-
- -
message: '#^Binary operation "\." between "\\n1 CHIL @" and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
@@ -1621,12 +1591,6 @@ parameters:
path: app/Http/RequestHandlers/CheckTree.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/CheckTree.php
-
- -
message: '#^Parameter \#1 \$haystack of function str_contains expects string, mixed given\.$#'
identifier: argument.type
count: 5
@@ -2053,6 +2017,12 @@ parameters:
path: app/Http/RequestHandlers/GedcomLoad.php
-
+ message: '#^Binary operation "/" between Illuminate\\Support\\Collection\|int and Illuminate\\Support\\Collection\|int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: app/Http/RequestHandlers/GedcomLoad.php
+
+ -
message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
identifier: argument.type
count: 2
@@ -2251,30 +2221,6 @@ parameters:
path: app/Http/RequestHandlers/MapDataExportCSV.php
-
- message: '#^Cannot access property \$id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportCSV.php
-
- -
- message: '#^Cannot access property \$latitude on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportCSV.php
-
- -
- message: '#^Cannot access property \$longitude on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportCSV.php
-
- -
- message: '#^Cannot access property \$place on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportCSV.php
-
- -
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 2
@@ -2317,30 +2263,6 @@ parameters:
path: app/Http/RequestHandlers/MapDataExportGeoJson.php
-
- message: '#^Cannot access property \$id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportGeoJson.php
-
- -
- message: '#^Cannot access property \$latitude on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportGeoJson.php
-
- -
- message: '#^Cannot access property \$longitude on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportGeoJson.php
-
- -
- message: '#^Cannot access property \$place on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Http/RequestHandlers/MapDataExportGeoJson.php
-
- -
message: '#^Cannot cast mixed to float\.$#'
identifier: cast.double
count: 2
@@ -2677,60 +2599,12 @@ parameters:
path: app/Http/RequestHandlers/PendingChangesLogDelete.php
-
- message: '#^Access to an undefined property object\:\:\$change_time\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$gedcom_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$old_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$status\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$user_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
message: '#^Binary operation "\." between ''"'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 3
path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: non\-falsy\-string, Closure\(object\)\: non\-falsy\-string given\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/PendingChangesLogDownload.php
-
- -
message: '#^Parameter \#1 \$params of method Fisharebest\\Webtrees\\Services\\PendingChangesService\:\:changesQuery\(\) expects array\<string\>, array given\.$#'
identifier: argument.type
count: 1
@@ -3109,42 +2983,6 @@ parameters:
path: app/Http/RequestHandlers/SiteLogsData.php
-
- message: '#^Access to an undefined property object\:\:\$gedcom_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$ip_address\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$log_message\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$log_time\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$log_type\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
- message: '#^Access to an undefined property object\:\:\$user_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
message: '#^Binary operation "\." between ''"'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
@@ -3157,12 +2995,6 @@ parameters:
path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: non\-falsy\-string, Closure\(object\)\: non\-falsy\-string given\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/SiteLogsDownload.php
-
- -
message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
identifier: argument.type
count: 3
@@ -3199,48 +3031,12 @@ parameters:
path: app/Http/RequestHandlers/TreePreferencesAction.php
-
- message: '#^Access to an undefined property object\:\:\$label\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
- message: '#^Access to an undefined property object\:\:\$record\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
- message: '#^Access to an undefined property object\:\:\$tag_label\.$#'
- identifier: property.notFound
- count: 4
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
- message: '#^Access to an undefined property object\:\:\$tag_type\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
message: '#^Binary operation "\." between ''''\|''FAM\:''\|''INDI\:'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -3259,30 +3055,12 @@ parameters:
path: app/Http/RequestHandlers/TreePrivacyPage.php
-
- message: '#^Cannot access property \$l_from on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Http/RequestHandlers/UnconnectedPage.php
-
- -
- message: '#^Cannot access property \$l_to on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Http/RequestHandlers/UnconnectedPage.php
-
- -
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: app/Http/RequestHandlers/UnconnectedPage.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/UnconnectedPage.php
-
- -
message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:mapWithKeys\(\) expects callable\(mixed, int\|string\)\: array\<string, array\{\}\>, Closure\(string\)\: non\-empty\-array\<string, array\{\}\> given\.$#'
identifier: argument.type
count: 1
@@ -3295,7 +3073,7 @@ parameters:
path: app/Http/RequestHandlers/UnconnectedPage.php
-
- message: '#^Parameter \#2 \$callback of function usort expects callable\(array\<Fisharebest\\Webtrees\\Individual\>\|Illuminate\\Support\\Collection\<int\|string, Fisharebest\\Webtrees\\Individual\>, array\<Fisharebest\\Webtrees\\Individual\>\|Illuminate\\Support\\Collection\<int\|string, Fisharebest\\Webtrees\\Individual\>\)\: int, Closure\(Illuminate\\Support\\Collection, Illuminate\\Support\\Collection\)\: int\<\-1, 1\> given\.$#'
+ message: '#^Parameter \#2 \$callback of function usort expects callable\(array\<Fisharebest\\Webtrees\\Individual\>\|Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\Individual\>, array\<Fisharebest\\Webtrees\\Individual\>\|Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\Individual\>\)\: int, Closure\(Illuminate\\Support\\Collection, Illuminate\\Support\\Collection\)\: int\<\-1, 1\> given\.$#'
identifier: argument.type
count: 1
path: app/Http/RequestHandlers/UnconnectedPage.php
@@ -3643,78 +3421,18 @@ parameters:
path: app/Media.php
-
- message: '#^Access to an undefined property object\:\:\$n_surn\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$n_surname\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$total\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Cannot access property \$count on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Cannot access property \$gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Cannot access property \$n_givn on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Cannot access property \$n_surn on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 2
path: app/Module/AbstractIndividualListModule.php
-
- message: '#^Method Fisharebest\\Webtrees\\Module\\AbstractIndividualListModule\:\:surnameData\(\) should return array\<object\{n_surn\: string, n_surname\: string, total\: int\}\> but returns array\<object\{n_surn\: mixed, n_surname\: mixed, total\: int\}&stdClass\>\.$#'
+ message: '#^Method Fisharebest\\Webtrees\\Module\\AbstractIndividualListModule\:\:surnameData\(\) should return array\<object\{n_surn\: string, n_surname\: string, total\: int\}\> but returns array\<int, object\{n_surn\: mixed, n_surname\: mixed, total\: int\}&stdClass\>\.$#'
identifier: return.type
count: 1
path: app/Module/AbstractIndividualListModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: argument.unresolvableType
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{n_surn\: mixed, n_surname\: mixed, total\: int\}&stdClass\), Closure\(object\)\: \(object\{n_surn\: mixed, n_surname\: mixed, total\: int\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
message: '#^Parameter \#1 \$request of static method Fisharebest\\Webtrees\\Validator\:\:attributes\(\) expects Psr\\Http\\Message\\ServerRequestInterface, mixed given\.$#'
identifier: argument.type
count: 1
@@ -3739,36 +3457,6 @@ parameters:
path: app/Module/AbstractIndividualListModule.php
-
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),object\{n_surn\: mixed, n_surname\: mixed, total\: int\}&stdClass\>\:\:all\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Module/AbstractIndividualListModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$interface\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/AbstractModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$module_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/AbstractModule.php
-
- -
- message: '#^Cannot access property \$access_level on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/AbstractModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -3787,12 +3475,6 @@ parameters:
path: app/Module/AbstractModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:first\(\) expects \(callable\(mixed, int\|string\)\: bool\)\|null, Closure\(object\)\: bool given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/AbstractModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -3805,12 +3487,6 @@ parameters:
path: app/Module/BingWebmasterToolsModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/BranchesListModule.php
-
- -
message: '#^Parameter \#1 \$request of static method Fisharebest\\Webtrees\\Validator\:\:attributes\(\) expects Psr\\Http\\Message\\ServerRequestInterface, mixed given\.$#'
identifier: argument.type
count: 1
@@ -4219,30 +3895,6 @@ parameters:
path: app/Module/FamilyBookChartModule.php
-
- message: '#^Access to an undefined property object\:\:\$note\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/FamilyTreeFavoritesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$record\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/FamilyTreeFavoritesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/FamilyTreeFavoritesModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/FamilyTreeFavoritesModule.php
-
- -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -4261,42 +3913,12 @@ parameters:
path: app/Module/FamilyTreeNewsModule.php
-
- message: '#^Access to an undefined property object\:\:\$updated\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/FamilyTreeNewsModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/FamilyTreeNewsModule.php
-
- -
message: '#^Parameter \#1 \$string of method Fisharebest\\Webtrees\\Contracts\\TimestampFactoryInterface\:\:fromString\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: app/Module/FamilyTreeNewsModule.php
-
- message: '#^Cannot access property \$n_surn on mixed\.$#'
- identifier: property.nonObject
- count: 7
- path: app/Module/FamilyTreeStatisticsModule.php
-
- -
- message: '#^Cannot access property \$n_surname on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/FamilyTreeStatisticsModule.php
-
- -
- message: '#^Cannot access property \$total on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/FamilyTreeStatisticsModule.php
-
- -
message: '#^Cannot call method embedTags\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
@@ -4797,25 +4419,19 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$block_id\.$#'
identifier: property.notFound
- count: 4
+ count: 2
path: app/Module/FrequentlyAskedQuestionsModule.php
-
message: '#^Access to an undefined property object\:\:\$block_order\.$#'
identifier: property.notFound
- count: 4
- path: app/Module/FrequentlyAskedQuestionsModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$gedcom_id\.$#'
- identifier: property.notFound
count: 2
path: app/Module/FrequentlyAskedQuestionsModule.php
-
message: '#^Access to an undefined property object\:\:\$languages\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Module/FrequentlyAskedQuestionsModule.php
-
@@ -4825,18 +4441,6 @@ parameters:
path: app/Module/FrequentlyAskedQuestionsModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:filter\(\) expects \(callable\(mixed, int\|string\)\: bool\)\|null, Closure\(object\)\: bool given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/FrequentlyAskedQuestionsModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/FrequentlyAskedQuestionsModule.php
-
- -
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
identifier: argument.type
count: 2
@@ -5479,12 +5083,6 @@ parameters:
path: app/Module/ListsMenuModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Location, Closure\(object\)\: Fisharebest\\Webtrees\\Location given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/LocationListModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -5527,12 +5125,6 @@ parameters:
path: app/Module/MatomoAnalyticsModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Media, Closure\(object\)\: Fisharebest\\Webtrees\\Media given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/MediaListModule.php
-
- -
message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: string, Closure\(string\)\: string given\.$#'
identifier: argument.type
count: 1
@@ -5689,12 +5281,6 @@ parameters:
path: app/Module/ModuleCustomTrait.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Note, Closure\(object\)\: Fisharebest\\Webtrees\\Note given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/NoteListModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -5821,18 +5407,6 @@ parameters:
path: app/Module/PlacesModule.php
-
- message: '#^Access to an undefined property object\:\:\$change_time\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
message: '#^Access to an undefined property object\:\:\$record\.$#'
identifier: property.notFound
count: 2
@@ -5845,43 +5419,13 @@ parameters:
path: app/Module/RecentChangesModule.php
-
- message: '#^Access to an undefined property object\:\:\$user_id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: app/Module/RecentChangesModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{record\: Fisharebest\\Webtrees\\GedcomRecord\|null, time\: Fisharebest\\Webtrees\\Contracts\\TimestampInterface, user\: Fisharebest\\Webtrees\\User\|null\}&stdClass\), Closure\(object\)\: \(object\{record\: Fisharebest\\Webtrees\\GedcomRecord\|null, time\: Fisharebest\\Webtrees\\Contracts\\TimestampInterface, user\: Fisharebest\\Webtrees\\User\|null\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/RecentChangesModule.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\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/RecentChangesModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- 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\.$#'
+ 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\.$#'
identifier: argument.type
count: 1
path: app/Module/RecentChangesModule.php
@@ -5941,18 +5485,6 @@ parameters:
path: app/Module/RelationshipsChartModule.php
-
- message: '#^Cannot access property \$l_from on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/RelationshipsChartModule.php
-
- -
- message: '#^Cannot access property \$l_to on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/RelationshipsChartModule.php
-
- -
message: '#^Cannot call method gedcom\(\) on Fisharebest\\Webtrees\\Family\|null\.$#'
identifier: method.nonObject
count: 2
@@ -6019,54 +5551,18 @@ parameters:
path: app/Module/ReportsMenuModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Repository, Closure\(object\)\: Fisharebest\\Webtrees\\Repository given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/RepositoryListModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: app/Module/RepositoryListModule.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\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/ResearchTaskModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- 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\.$#'
identifier: argument.type
count: 1
path: app/Module/ResearchTaskModule.php
-
- message: '#^Cannot access property \$new_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/ReviewChangesModule.php
-
- -
- message: '#^Cannot access property \$old_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/ReviewChangesModule.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/ReviewChangesModule.php
-
- -
message: '#^Cannot call method canShow\(\) on Fisharebest\\Webtrees\\GedcomRecord\|null\.$#'
identifier: method.nonObject
count: 1
@@ -6127,78 +5623,6 @@ parameters:
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\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Media, Closure\(object\)\: Fisharebest\\Webtrees\\Media given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Note, Closure\(object\)\: Fisharebest\\Webtrees\\Note given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Repository, Closure\(object\)\: Fisharebest\\Webtrees\\Repository given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Source, Closure\(object\)\: Fisharebest\\Webtrees\\Source given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Submitter, Closure\(object\)\: Fisharebest\\Webtrees\\Submitter given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SiteMapModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$m_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/SlideShowModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$m_id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/SlideShowModule.php
-
- -
- message: '#^Cannot access property \$m_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/SlideShowModule.php
-
- -
- message: '#^Cannot access property \$m_id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/SlideShowModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:first\(\) expects \(callable\(mixed, int\|string\)\: bool\)\|null, Closure\(object\)\: bool given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SlideShowModule.php
-
- -
message: '#^Parameter \#1 \$request of static method Fisharebest\\Webtrees\\Validator\:\:queryParams\(\) expects Psr\\Http\\Message\\ServerRequestInterface, mixed given\.$#'
identifier: argument.type
count: 1
@@ -6217,12 +5641,6 @@ parameters:
path: app/Module/SlideShowModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Source, Closure\(object\)\: Fisharebest\\Webtrees\\Source given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SourceListModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -6283,42 +5701,6 @@ parameters:
path: app/Module/StatisticsChartModule.php
-
- message: '#^Cannot access property \$d_month on mixed\.$#'
- identifier: property.nonObject
- count: 11
- path: app/Module/StatisticsChartModule.php
-
- -
- message: '#^Cannot access property \$f_husb on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Module/StatisticsChartModule.php
-
- -
- message: '#^Cannot access property \$f_wife on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Module/StatisticsChartModule.php
-
- -
- message: '#^Cannot access property \$i_sex on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/StatisticsChartModule.php
-
- -
- message: '#^Cannot access property \$month on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Module/StatisticsChartModule.php
-
- -
- message: '#^Cannot access property \$total on mixed\.$#'
- identifier: property.nonObject
- count: 11
- path: app/Module/StatisticsChartModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 3
@@ -6349,66 +5731,6 @@ parameters:
path: app/Module/StatisticsChartModule.php
-
- message: '#^Access to an undefined property object\:\:\$block_id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$individual\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$languages\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Cannot access property \$block_id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Cannot access property \$individual on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Cannot access property \$languages on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Cannot access property \$title on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/StoriesModule.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/StoriesModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 3
@@ -6421,24 +5743,12 @@ parameters:
path: app/Module/StoriesModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/StoriesModule.php
-
- -
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: app/Module/StoriesModule.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Submitter, Closure\(object\)\: Fisharebest\\Webtrees\\Submitter given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/SubmitterListModule.php
-
- -
message: '#^Parameter \#2 \$path of method Aura\\Router\\Map\:\:get\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -6511,18 +5821,6 @@ parameters:
path: app/Module/TopGivenNamesModule.php
-
- message: '#^Cannot access property \$page_count on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/TopPageViewsModule.php
-
- -
- message: '#^Cannot access property \$page_parameter on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/TopPageViewsModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -6535,24 +5833,6 @@ parameters:
path: app/Module/TopPageViewsModule.php
-
- message: '#^Cannot access property \$n_surn on mixed\.$#'
- identifier: property.nonObject
- count: 7
- path: app/Module/TopSurnamesModule.php
-
- -
- message: '#^Cannot access property \$n_surname on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Module/TopSurnamesModule.php
-
- -
- message: '#^Cannot access property \$total on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Module/TopSurnamesModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -6565,30 +5845,6 @@ parameters:
path: app/Module/TopSurnamesModule.php
-
- message: '#^Access to an undefined property object\:\:\$note\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/UserFavoritesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$record\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/UserFavoritesModule.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/UserFavoritesModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/UserFavoritesModule.php
-
- -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -6607,36 +5863,12 @@ parameters:
path: app/Module/UserJournalModule.php
-
- message: '#^Access to an undefined property object\:\:\$updated\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/UserJournalModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/UserJournalModule.php
-
- -
message: '#^Parameter \#1 \$string of method Fisharebest\\Webtrees\\Contracts\\TimestampFactoryInterface\:\:fromString\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: app/Module/UserJournalModule.php
-
- message: '#^Access to an undefined property object\:\:\$created\.$#'
- identifier: property.notFound
- count: 2
- path: app/Module/UserMessagesModule.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Module/UserMessagesModule.php
-
- -
message: '#^Parameter \#1 \$string of method Fisharebest\\Webtrees\\Contracts\\TimestampFactoryInterface\:\:fromString\(\) expects string\|null, mixed given\.$#'
identifier: argument.type
count: 1
@@ -7249,24 +6481,6 @@ parameters:
path: app/Report/ReportParserGenerate.php
-
- message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Report/ReportParserGenerate.php
-
- -
- message: '#^Access to an undefined property object\:\:\$old_gedcom\.$#'
- identifier: property.notFound
- count: 1
- path: app/Report/ReportParserGenerate.php
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: app/Report/ReportParserGenerate.php
-
- -
message: '#^Access to protected property Fisharebest\\Webtrees\\GedcomRecord\|static\(Fisharebest\\Webtrees\\Report\\ReportParserGenerate\)\:\:\$generation\.$#'
identifier: property.protected
count: 1
@@ -7339,18 +6553,6 @@ parameters:
path: app/Report/ReportParserGenerate.php
-
- message: '#^Cannot access property \$gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Report/ReportParserGenerate.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Report/ReportParserGenerate.php
-
- -
message: '#^Cannot call method addElement\(\) on Fisharebest\\Webtrees\\Report\\AbstractRenderer\|null\.$#'
identifier: method.nonObject
count: 1
@@ -7447,12 +6649,6 @@ parameters:
path: app/Report/ReportParserGenerate.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(Fisharebest\\Webtrees\\GedcomRecord\|null\), Closure\(object\)\: \(Fisharebest\\Webtrees\\GedcomRecord\|null\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Report/ReportParserGenerate.php
-
- -
message: '#^Parameter \#1 \$expression of method Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage\:\:evaluate\(\) expects string\|Symfony\\Component\\ExpressionLanguage\\Expression, string\|null given\.$#'
identifier: argument.type
count: 1
@@ -7609,15 +6805,21 @@ 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\|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: 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\<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\<int, 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\|string, Fisharebest\\Webtrees\\GedcomRecord\|null\>\.$#'
+ identifier: assign.propertyType
+ count: 1
path: app/Report/ReportParserGenerate.php
-
@@ -7777,30 +6979,6 @@ parameters:
path: app/Report/RightToLeftSupport.php
-
- message: '#^Cannot access property \$access_level on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Schema/Migration42.php
-
- -
- message: '#^Cannot access property \$component on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Schema/Migration42.php
-
- -
- message: '#^Cannot access property \$gedcom_id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Schema/Migration42.php
-
- -
- message: '#^Cannot access property \$module_name on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Schema/Migration42.php
-
- -
message: '#^Access to an undefined property object\:\:\$max\.$#'
identifier: property.notFound
count: 2
@@ -7837,6 +7015,12 @@ parameters:
path: app/Services/AdminService.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Services\\AdminService\:\:countCommonXrefs\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Services/AdminService.php
+
+ -
message: '#^Method Fisharebest\\Webtrees\\Services\\AdminService\:\:duplicateRecords\(\) should return array\<string, array\<int, array\<int, Fisharebest\\Webtrees\\GedcomRecord\>\>\> but returns array\<string, array\<list\<Fisharebest\\Webtrees\\Family\|Fisharebest\\Webtrees\\Individual\|Fisharebest\\Webtrees\\Media\|Fisharebest\\Webtrees\\Source\>\>\>\.$#'
identifier: return.type
count: 1
@@ -7903,48 +7087,6 @@ parameters:
path: app/Services/CalendarService.php
-
- message: '#^Cannot access property \$d_day on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$d_fact on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$d_month on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$d_type on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$d_year on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Services/CalendarService.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 4
- path: app/Services/CalendarService.php
-
- -
message: '#^Cannot call method minimumJulianDay\(\) on mixed\.$#'
identifier: method.nonObject
count: 4
@@ -8155,32 +7297,8 @@ parameters:
path: app/Services/GedcomEditService.php
-
- message: '#^Cannot access property \$f_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Cannot access property \$i_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Cannot access property \$m_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Cannot access property \$o_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Cannot access property \$s_gedcom on mixed\.$#'
- identifier: property.nonObject
+ message: '#^Access to an undefined property object\:\:\$o_gedcom\.$#'
+ identifier: property.notFound
count: 1
path: app/Services/GedcomExportService.php
@@ -8197,36 +7315,6 @@ parameters:
path: app/Services/GedcomExportService.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\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\GedcomRecord, Closure\(object\)\: Fisharebest\\Webtrees\\GedcomRecord given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Media, Closure\(object\)\: Fisharebest\\Webtrees\\Media given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Source, Closure\(object\)\: Fisharebest\\Webtrees\\Source given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/GedcomExportService.php
-
- -
message: '#^Parameter \#1 \$gedcom of method Fisharebest\\Webtrees\\Services\\GedcomExportService\:\:wrapLongLines\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -8461,72 +7549,6 @@ parameters:
path: app/Services/LinkedRecordService.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\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Location, Closure\(object\)\: Fisharebest\\Webtrees\\Location given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Media, Closure\(object\)\: Fisharebest\\Webtrees\\Media given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Note, Closure\(object\)\: Fisharebest\\Webtrees\\Note given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Repository, Closure\(object\)\: Fisharebest\\Webtrees\\Repository given\.$#'
- identifier: argument.type
- count: 2
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Source, Closure\(object\)\: Fisharebest\\Webtrees\\Source given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/LinkedRecordService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$child_count\.$#'
- identifier: property.notFound
- count: 2
- path: app/Services/MapDataService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$key\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/MapDataService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$no_coord\.$#'
- identifier: property.notFound
- count: 2
- path: app/Services/MapDataService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$p_id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/MapDataService.php
-
- -
message: '#^Access to an undefined property object\:\:\$parent_id\.$#'
identifier: property.notFound
count: 1
@@ -8535,64 +7557,22 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$place\.$#'
identifier: property.notFound
- count: 4
- path: app/Services/MapDataService.php
-
- -
- message: '#^Cannot access property \$id on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/MapDataService.php
-
- -
- message: '#^Cannot access property \$p_place on mixed\.$#'
- identifier: property.nonObject
count: 1
path: app/Services/MapDataService.php
-
- message: '#^Cannot access property \$place on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/MapDataService.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 4
path: app/Services/MapDataService.php
-
- message: '#^Method Fisharebest\\Webtrees\\Services\\MapDataService\:\:activePlaces\(\) should return array\<string, array\<object\>\> but returns array\<string, list\<mixed\>\>\.$#'
- identifier: return.type
- count: 1
- path: app/Services/MapDataService.php
-
- -
message: '#^Method Fisharebest\\Webtrees\\Services\\MapDataService\:\:placeIdsForLocation\(\) should return array\<string\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: app/Services/MapDataService.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(object\)\: int given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/MapDataService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/MapDataService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: string, Closure\(object\)\: string given\.$#'
- identifier: argument.type
- count: 2
- path: app/Services/MapDataService.php
-
- -
message: '#^Parameter \#1 \$string of function mb_strtolower expects string, mixed given\.$#'
identifier: argument.type
count: 2
@@ -8701,42 +7681,6 @@ parameters:
path: app/Services/MediaFileService.php
-
- message: '#^Access to an undefined property object\:\:\$footer_order\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$menu_order\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$module_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$sidebar_order\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$status\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
- message: '#^Access to an undefined property object\:\:\$tab_order\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/ModuleService.php
-
- -
message: '#^Anonymous function should return Fisharebest\\Webtrees\\Module\\ModuleInterface but returns mixed\.$#'
identifier: return.type
count: 1
@@ -8785,12 +7729,6 @@ parameters:
path: app/Services/ModuleService.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:mapWithKeys\(\) expects callable\(mixed, int\|string\)\: array\<int\|string, object\>, Closure\(object\)\: non\-empty\-array\<int\|string, object\> given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/ModuleService.php
-
- -
message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<int,Fisharebest\\Webtrees\\Module\\ModuleCustomInterface\|null\>\:\:mapWithKeys\(\) expects callable\(Fisharebest\\Webtrees\\Module\\ModuleCustomInterface\|null, int\)\: array\<string, Fisharebest\\Webtrees\\Module\\ModuleCustomInterface\>, Closure\(Fisharebest\\Webtrees\\Module\\ModuleCustomInterface\)\: non\-empty\-array\<string, Fisharebest\\Webtrees\\Module\\ModuleCustomInterface\> given\.$#'
identifier: argument.type
count: 1
@@ -8815,42 +7753,6 @@ parameters:
path: app/Services/PendingChangesService.php
-
- message: '#^Cannot access property \$change_id on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Services/PendingChangesService.php
-
- -
- message: '#^Cannot access property \$change_time on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/PendingChangesService.php
-
- -
- message: '#^Cannot access property \$new_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 8
- path: app/Services/PendingChangesService.php
-
- -
- message: '#^Cannot access property \$old_gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 5
- path: app/Services/PendingChangesService.php
-
- -
- message: '#^Cannot access property \$record on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Services/PendingChangesService.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Services/PendingChangesService.php
-
- -
message: '#^Cannot call method add\(\) on DateTimeImmutable\|false\.$#'
identifier: method.nonObject
count: 1
@@ -8863,12 +7765,6 @@ parameters:
path: app/Services/PendingChangesService.php
-
- message: '#^Method Fisharebest\\Webtrees\\Services\\PendingChangesService\:\:pendingChanges\(\) should return array\<array\<object\>\> but returns array\<int\|string, list\<mixed\>\>\.$#'
- identifier: return.type
- count: 1
- path: app/Services/PendingChangesService.php
-
- -
message: '#^Method Fisharebest\\Webtrees\\Services\\PendingChangesService\:\:pendingXrefs\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<\(int\|string\), mixed\>\.$#'
identifier: return.type
count: 1
@@ -9121,24 +8017,6 @@ parameters:
path: app/Services/SearchService.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\.$#'
- identifier: argument.type
- count: 2
- path: app/Services/SearchService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
- count: 4
- path: app/Services/SearchService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Media, Closure\(object\)\: Fisharebest\\Webtrees\\Media given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/SearchService.php
-
- -
message: '#^Parameter \#1 \$haystack of function mb_stripos expects string, string\|null given\.$#'
identifier: argument.type
count: 1
@@ -9217,18 +8095,6 @@ parameters:
path: app/Services/TimeoutService.php
-
- message: '#^Access to an undefined property object\:\:\$tree_name\.$#'
- identifier: property.notFound
- count: 1
- path: app/Services/TreeService.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:mapWithKeys\(\) expects callable\(mixed, int\|string\)\: array\<int\|string, Fisharebest\\Webtrees\\Tree\>, Closure\(object\)\: non\-empty\-array\<int\|string, Fisharebest\\Webtrees\\Tree\> given\.$#'
- identifier: argument.type
- count: 1
- path: app/Services/TreeService.php
-
- -
message: '#^Parameter \#1 \$stream of function fclose expects resource, resource\|null given\.$#'
identifier: argument.type
count: 1
@@ -9295,12 +8161,6 @@ parameters:
path: app/Services/UpgradeService.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\User, Closure\(object\)\: Fisharebest\\Webtrees\\User given\.$#'
- identifier: argument.type
- count: 13
- path: app/Services/UserService.php
-
- -
message: '#^Access to an undefined property object\:\:\$ip_address\.$#'
identifier: property.notFound
count: 1
@@ -9387,19 +8247,19 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$age\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartAge.php
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartAge.php
-
message: '#^Access to an undefined property object\:\:\$sex\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartAge.php
-
@@ -9421,18 +8281,6 @@ parameters:
path: app/Statistics/Google/ChartAge.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: argument.unresolvableType
- count: 1
- path: app/Statistics/Google/ChartAge.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{age\: float, century\: int, sex\: mixed\}&stdClass\), Closure\(object\)\: \(object\{age\: float, century\: int, sex\: mixed\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- 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
@@ -9445,21 +8293,15 @@ parameters:
path: app/Statistics/Google/ChartAge.php
-
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Statistics/Google/ChartAge.php
-
- -
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartBirth.php
-
message: '#^Access to an undefined property object\:\:\$total\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartBirth.php
-
@@ -9475,12 +8317,6 @@ parameters:
path: app/Statistics/Google/ChartBirth.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{century\: int, total\: float\}&stdClass\), Closure\(object\)\: \(object\{century\: int, total\: float\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartBirth.php
-
- -
message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9489,13 +8325,13 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartChildren.php
-
message: '#^Access to an undefined property object\:\:\$total\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartChildren.php
-
@@ -9511,12 +8347,6 @@ parameters:
path: app/Statistics/Google/ChartChildren.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{century\: int, total\: float\}&stdClass\), Closure\(object\)\: \(object\{century\: int, total\: float\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartChildren.php
-
- -
message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9537,13 +8367,13 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartDeath.php
-
message: '#^Access to an undefined property object\:\:\$total\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartDeath.php
-
@@ -9559,12 +8389,6 @@ parameters:
path: app/Statistics/Google/ChartDeath.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{century\: int, total\: float\}&stdClass\), Closure\(object\)\: \(object\{century\: int, total\: float\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartDeath.php
-
- -
message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9577,18 +8401,6 @@ parameters:
path: app/Statistics/Google/ChartDistribution.php
-
- message: '#^Cannot access property \$gedcom on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Statistics/Google/ChartDistribution.php
-
- -
- message: '#^Cannot access property \$place on mixed\.$#'
- identifier: property.nonObject
- count: 2
- path: app/Statistics/Google/ChartDistribution.php
-
- -
message: '#^Parameter \#1 \$str of function preg_quote expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9603,13 +8415,13 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartDivorce.php
-
message: '#^Access to an undefined property object\:\:\$total\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartDivorce.php
-
@@ -9625,12 +8437,6 @@ parameters:
path: app/Statistics/Google/ChartDivorce.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{century\: int, total\: float\}&stdClass\), Closure\(object\)\: \(object\{century\: int, total\: float\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartDivorce.php
-
- -
message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9649,12 +8455,6 @@ parameters:
path: app/Statistics/Google/ChartFamilyLargest.php
-
- message: '#^Method Fisharebest\\Webtrees\\Statistics\\Google\\ChartFamilyLargest\:\:queryRecords\(\) should return array\<object\> but returns array\<mixed\>\.$#'
- identifier: return.type
- count: 1
- path: app/Statistics/Google/ChartFamilyLargest.php
-
- -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\FamilyFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9663,13 +8463,13 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartMarriage.php
-
message: '#^Access to an undefined property object\:\:\$total\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartMarriage.php
-
@@ -9685,12 +8485,6 @@ parameters:
path: app/Statistics/Google/ChartMarriage.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{century\: int, total\: float\}&stdClass\), Closure\(object\)\: \(object\{century\: int, total\: float\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Google/ChartMarriage.php
-
- -
message: '#^Parameter \#1 \$century of method Fisharebest\\Webtrees\\Statistics\\Service\\CenturyService\:\:centuryName\(\) expects int, mixed given\.$#'
identifier: argument.type
count: 1
@@ -9699,19 +8493,19 @@ parameters:
-
message: '#^Access to an undefined property object\:\:\$age\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartMarriageAge.php
-
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartMarriageAge.php
-
message: '#^Access to an undefined property object\:\:\$sex\.$#'
identifier: property.notFound
- count: 2
+ count: 1
path: app/Statistics/Google/ChartMarriageAge.php
-
@@ -9733,18 +8527,6 @@ parameters:
path: app/Statistics/Google/ChartMarriageAge.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: argument.unresolvableType
- count: 1
- path: app/Statistics/Google/ChartMarriageAge.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{age\: float, century\: int, sex\: mixed\}&stdClass\), Closure\(object\)\: \(object\{age\: float, century\: int, sex\: mixed\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- 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
@@ -9757,12 +8539,6 @@ parameters:
path: app/Statistics/Google/ChartMarriageAge.php
-
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Statistics/Google/ChartMarriageAge.php
-
- -
message: '#^Access to an undefined property object\:\:\$century\.$#'
identifier: property.notFound
count: 1
@@ -9781,42 +8557,12 @@ parameters:
path: app/Statistics/Google/ChartNoChildrenFamilies.php
-
- message: '#^Method Fisharebest\\Webtrees\\Statistics\\Google\\ChartNoChildrenFamilies\:\:queryRecords\(\) should return array\<object\> but returns array\<mixed\>\.$#'
- identifier: return.type
- count: 1
- path: app/Statistics/Google/ChartNoChildrenFamilies.php
-
- -
message: '#^Parameter \#2 \$request of method Fisharebest\\Webtrees\\Services\\UserService\:\:contactLink\(\) expects Psr\\Http\\Message\\ServerRequestInterface, mixed given\.$#'
identifier: argument.type
count: 2
path: app/Statistics/Repository/ContactRepository.php
-
- message: '#^Access to an undefined property object\:\:\$fact\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$type\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$year\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -9829,14 +8575,8 @@ parameters:
path: app/Statistics/Repository/EventRepository.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: argument.unresolvableType
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{id\: mixed, year\: int, fact\: mixed, type\: mixed\}&stdClass\), Closure\(object\)\: \(object\{id\: mixed, year\: int, fact\: mixed, type\: mixed\}&stdClass\) given\.$#'
- identifier: argument.type
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\EventRepository\:\:getEventCount\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
count: 1
path: app/Statistics/Repository/EventRepository.php
@@ -9847,36 +8587,6 @@ parameters:
path: app/Statistics/Repository/EventRepository.php
-
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Statistics/Repository/EventRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$fact\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$id\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$type\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
- message: '#^Access to an undefined property object\:\:\$year\.$#'
- identifier: property.notFound
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -9889,33 +8599,15 @@ parameters:
path: app/Statistics/Repository/FamilyDatesRepository.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: argument.unresolvableType
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: \(object\{id\: mixed, year\: int, fact\: mixed, type\: mixed\}&stdClass\), Closure\(object\)\: \(object\{id\: mixed, year\: int, fact\: mixed, type\: mixed\}&stdClass\) given\.$#'
- identifier: argument.type
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
message: '#^Property object\{id\: string, year\: int, fact\: string, type\: string\}\:\:\$year is not writable\.$#'
identifier: assign.propertyReadOnly
count: 1
path: app/Statistics/Repository/FamilyDatesRepository.php
-
- message: '#^Return type of call to method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) contains unresolvable type\.$#'
- identifier: method.unresolvableReturnType
- count: 1
- path: app/Statistics/Repository/FamilyDatesRepository.php
-
- -
message: '#^Access to an undefined property object\:\:\$age\.$#'
identifier: property.notFound
- count: 5
+ count: 3
path: app/Statistics/Repository/FamilyRepository.php
-
@@ -9949,36 +8641,6 @@ parameters:
path: app/Statistics/Repository/FamilyRepository.php
-
- message: '#^Cannot access property \$age on mixed\.$#'
- identifier: property.nonObject
- count: 9
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Cannot access property \$famid on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Cannot access property \$family on mixed\.$#'
- identifier: property.nonObject
- count: 7
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Cannot access property \$i_id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Cannot access property \$id on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
message: '#^Cannot call method canShow\(\) on Fisharebest\\Webtrees\\Family\|null\.$#'
identifier: method.nonObject
count: 1
@@ -10045,27 +8707,15 @@ parameters:
path: app/Statistics/Repository/FamilyRepository.php
-
- message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\FamilyRepository\:\:ageBetweenSiblingsQuery\(\) should return array\<object\> but returns array\<mixed\>\.$#'
- identifier: return.type
- count: 1
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\FamilyRepository\:\:statsChildrenQuery\(\) should return array\<object\> but returns array\<mixed\>\.$#'
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\FamilyRepository\:\:noChildrenFamiliesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
identifier: return.type
count: 1
path: app/Statistics/Repository/FamilyRepository.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\.$#'
- identifier: argument.type
- count: 4
- path: app/Statistics/Repository/FamilyRepository.php
-
- -
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: object, Closure\(object\)\: object given\.$#'
+ message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, Illuminate\\Support\\Collection\|int given\.$#'
identifier: argument.type
- count: 1
+ count: 2
path: app/Statistics/Repository/FamilyRepository.php
-
@@ -10111,12 +8761,6 @@ parameters:
path: app/Statistics/Repository/IndividualRepository.php
-
- message: '#^Cannot access property \$days on mixed\.$#'
- identifier: property.nonObject
- count: 1
- path: app/Statistics/Repository/IndividualRepository.php
-
- -
message: '#^Cannot call method findByComponent\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
@@ -10255,14 +8899,68 @@ parameters:
path: app/Statistics/Repository/IndividualRepository.php
-
- message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:statsAgeQuery\(\) should return array\<object\> but returns array\<mixed\>\.$#'
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:getTotalSexQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
identifier: return.type
count: 1
path: app/Statistics/Repository/IndividualRepository.php
-
- message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: Fisharebest\\Webtrees\\Individual, Closure\(object\)\: Fisharebest\\Webtrees\\Individual given\.$#'
- identifier: argument.type
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalDeceasedQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalFamiliesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalFamsWithSourcesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalIndisWithSourcesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalIndividualsQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalLivingQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalMediaQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalNotesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalRepositoriesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Statistics/Repository/IndividualRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\IndividualRepository\:\:totalSourcesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
count: 1
path: app/Statistics/Repository/IndividualRepository.php
@@ -10273,9 +8971,9 @@ parameters:
path: app/Statistics/Repository/IndividualRepository.php
-
- message: '#^Parameter \#1 of closure expects object, mixed given\.$#'
+ message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, Illuminate\\Support\\Collection\|int given\.$#'
identifier: argument.type
- count: 1
+ count: 2
path: app/Statistics/Repository/IndividualRepository.php
-
@@ -10309,8 +9007,26 @@ parameters:
path: app/Statistics/Repository/MediaRepository.php
-
- message: '#^Cannot access property \$tree on mixed\.$#'
- identifier: property.nonObject
+ message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, Illuminate\\Support\\Collection\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Statistics/Repository/MediaRepository.php
+
+ -
+ message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, Illuminate\\Support\\Collection\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Statistics/Repository/MessageRepository.php
+
+ -
+ message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, Illuminate\\Support\\Collection\|int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: app/Statistics/Repository/NewsRepository.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Statistics\\Repository\\PlaceRepository\:\:totalPlacesQuery\(\) should return int but returns Illuminate\\Support\\Collection\|int\.$#'
+ identifier: return.type
count: 1
path: app/Statistics/Repository/PlaceRepository.php
@@ -10363,24 +9079,6 @@ parameters:
path: app/Tree.php
-
- message: '#^Cannot access property \$resn on mixed\.$#'
- identifier: property.nonObject
- count: 5
- path: app/Tree.php
-
- -
- message: '#^Cannot access property \$tag_type on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Tree.php
-
- -
- message: '#^Cannot access property \$xref on mixed\.$#'
- identifier: property.nonObject
- count: 3
- path: app/Tree.php
-
- -
message: '#^Cannot call method acceptRecord\(\) on mixed\.$#'
identifier: method.nonObject
count: 4