summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-05-30 14:14:57 +0100
committerGreg Roach <greg@subaqua.co.uk>2025-06-01 21:27:57 +0100
commitf2e5d553e22f558528aab99ecbf894883857e70b (patch)
tree09803b62ba25254f370a1e1833814b95ad9c6382 /phpstan-baseline.neon
parente918c5d918652c01d4a7f15234581b8b3a589e09 (diff)
downloadwebtrees-f2e5d553e22f558528aab99ecbf894883857e70b.tar.gz
webtrees-f2e5d553e22f558528aab99ecbf894883857e70b.tar.bz2
webtrees-f2e5d553e22f558528aab99ecbf894883857e70b.zip
Update PHP dependencies
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon28
1 files changed, 26 insertions, 2 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 1b0e9fd33d..3c9fd821a2 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -607,6 +607,12 @@ parameters:
path: app/Encodings/AbstractEncoding.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Encodings\\UTF8\:\:fromUtf8\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Encodings/UTF8.php
+
+ -
message: '#^Cannot access offset ''BURI'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
@@ -1357,6 +1363,12 @@ parameters:
path: app/Http/Middleware/HandleExceptions.php
-
+ message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Http/Middleware/HandleExceptions.php
+
+ -
message: '#^Parameter \#1 \$basepath of class Aura\\Router\\RouterContainer constructor expects string\|null, string\|false\|null given\.$#'
identifier: argument.type
count: 1
@@ -3889,12 +3901,24 @@ parameters:
path: app/Module/FanChartModule.php
-
+ message: '#^Parameter \#4 \$string of function imagettfbbox expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Module/FanChartModule.php
+
+ -
message: '#^Parameter \#6 \$color of function imagefilledrectangle expects int, int\<0, max\>\|false given\.$#'
identifier: argument.type
count: 1
path: app/Module/FanChartModule.php
-
+ message: '#^Parameter \#8 \$text of function imagettftext expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Module/FanChartModule.php
+
+ -
message: '#^Method Fisharebest\\Webtrees\\Module\\FixCemeteryTag\:\:individualsToFix\(\) should return Illuminate\\Support\\Collection\<int, string\>\|null but returns Illuminate\\Support\\Collection\<\(int\|string\), mixed\>\.$#'
identifier: return.type
count: 1
@@ -5317,7 +5341,7 @@ parameters:
path: app/Place.php
-
- message: '#^Parameter \#1 \$items of class Illuminate\\Support\\Collection constructor expects Illuminate\\Contracts\\Support\\Arrayable\<int\<0, max\>, string\>\|iterable\<int\<0, max\>, string\>\|null, list\<string\>\|false given\.$#'
+ message: '#^Parameter \#1 \$items of class Illuminate\\Support\\Collection constructor expects Illuminate\\Contracts\\Support\\Arrayable\<int\<0, max\>, non\-empty\-string\>\|iterable\<int\<0, max\>, non\-empty\-string\>\|null, list\<non\-empty\-string\>\|false given\.$#'
identifier: argument.type
count: 1
path: app/Place.php
@@ -5401,7 +5425,7 @@ parameters:
path: app/PlaceLocation.php
-
- message: '#^Parameter \#1 \$items of class Illuminate\\Support\\Collection constructor expects Illuminate\\Contracts\\Support\\Arrayable\<int\<0, max\>, string\>\|iterable\<int\<0, max\>, string\>\|null, list\<string\>\|false given\.$#'
+ message: '#^Parameter \#1 \$items of class Illuminate\\Support\\Collection constructor expects Illuminate\\Contracts\\Support\\Arrayable\<int\<0, max\>, non\-empty\-string\>\|iterable\<int\<0, max\>, non\-empty\-string\>\|null, list\<non\-empty\-string\>\|false given\.$#'
identifier: argument.type
count: 1
path: app/PlaceLocation.php