summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-10-12 21:41:24 +0100
committerGreg Roach <greg@subaqua.co.uk>2025-10-12 21:41:24 +0100
commit538b3071be929e1099879b491444176726a8c946 (patch)
tree3d63db291eff34392bf743757709cf85bf8b1944 /phpstan-baseline.neon
parentba559e69d5e5291c924d00cf575730320812bc1c (diff)
downloadwebtrees-538b3071be929e1099879b491444176726a8c946.tar.gz
webtrees-538b3071be929e1099879b491444176726a8c946.tar.bz2
webtrees-538b3071be929e1099879b491444176726a8c946.zip
Update PHP dependencies
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon36
1 files changed, 27 insertions, 9 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index dfe2d61b20..c93cdd37b8 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1393,7 +1393,7 @@ parameters:
path: app/Http/Middleware/Router.php
-
- rawMessage: 'Parameter #1 $key of method Illuminate\Support\Collection<(int|string),Fisharebest\Webtrees\Tree>::get() expects (int|string), mixed given.'
+ rawMessage: 'Parameter #1 $key of method Illuminate\Support\Collection<(int|string),Fisharebest\Webtrees\Tree>::get() expects int|string|null, mixed given.'
identifier: argument.type
count: 1
path: app/Http/Middleware/Router.php
@@ -1627,12 +1627,6 @@ parameters:
path: app/Http/RequestHandlers/DataFixPreview.php
-
- rawMessage: 'Parameter #1 $key of method Illuminate\Support\Collection<int,Fisharebest\Webtrees\Module\ModuleDataFixInterface>::get() expects int, string given.'
- identifier: argument.type
- count: 1
- path: app/Http/RequestHandlers/DataFixSelect.php
-
- -
rawMessage: 'Parameter #2 $params of method Fisharebest\Webtrees\Module\ModuleDataFixInterface::doesRecordNeedUpdate() expects array<string, string>, array given.'
identifier: argument.type
count: 1
@@ -3007,7 +3001,7 @@ parameters:
path: app/Http/RequestHandlers/UserListData.php
-
- rawMessage: 'Parameter #1 $key of method Illuminate\Support\Collection<string,string>::get() expects string, mixed given.'
+ rawMessage: 'Parameter #1 $key of method Illuminate\Support\Collection<string,string>::get() expects int|string|null, mixed given.'
identifier: argument.type
count: 1
path: app/Http/RequestHandlers/UserListData.php
@@ -3129,7 +3123,7 @@ parameters:
-
rawMessage: 'Cannot access offset int<0, max> on mixed.'
identifier: offsetAccess.nonOffsetAccessible
- count: 4
+ count: 1
path: app/Individual.php
-
@@ -6397,6 +6391,12 @@ parameters:
path: app/Services/GedcomExportService.php
-
+ rawMessage: 'Offset ''uri'' might not exist on array{timed_out: bool, blocked: bool, eof: bool, unread_bytes: int, stream_type: string, wrapper_type: string, wrapper_data: mixed, mode: string, ...}.'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: app/Services/GedcomExportService.php
+
+ -
rawMessage: 'Parameter #1 $gedcom of method Fisharebest\Webtrees\Services\GedcomExportService::wrapLongLines() expects string, mixed given.'
identifier: argument.type
count: 1
@@ -6841,6 +6841,12 @@ parameters:
path: app/Services/ModuleService.php
-
+ rawMessage: Possibly invalid array key type mixed.
+ identifier: array.invalidKey
+ count: 1
+ path: app/Services/ModuleService.php
+
+ -
rawMessage: 'Parameter $stream of function fwrite expects resource, resource|false given.'
identifier: argument.type
count: 1
@@ -7225,6 +7231,12 @@ parameters:
path: app/Services/TreeService.php
-
+ rawMessage: Possibly invalid array key type mixed.
+ identifier: array.invalidKey
+ count: 1
+ path: app/Services/TreeService.php
+
+ -
rawMessage: 'Method Fisharebest\Webtrees\Services\UpgradeService::downloadFile() should return int but returns int|false.'
identifier: return.type
count: 1
@@ -7645,6 +7657,12 @@ parameters:
path: app/Tree.php
-
+ rawMessage: 'Method Fisharebest\Webtrees\Tree::getUserPreference() should return string but returns mixed.'
+ identifier: return.type
+ count: 1
+ path: app/Tree.php
+
+ -
rawMessage: 'Parameter #2 $name of class Fisharebest\Webtrees\Tree constructor expects string, mixed given.'
identifier: argument.type
count: 1