summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-02-09 18:51:50 +0000
committerGreg Roach <greg@subaqua.co.uk>2025-02-09 18:58:31 +0000
commit6a7468886d1924b95cd8a0123574b684ea70e13f (patch)
tree08144c11b0c460561b8df0077e1475b2bdc4cd64 /phpstan-baseline.neon
parente5e50fe17496637a749c7d686b9b7abe6447a886 (diff)
downloadwebtrees-6a7468886d1924b95cd8a0123574b684ea70e13f.tar.gz
webtrees-6a7468886d1924b95cd8a0123574b684ea70e13f.tar.bz2
webtrees-6a7468886d1924b95cd8a0123574b684ea70e13f.zip
Upgrade PHPunit
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon14
1 files changed, 13 insertions, 1 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 51d02de5a0..93f6761d3b 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -2125,6 +2125,12 @@ parameters:
path: app/Http/RequestHandlers/ManageMediaData.php
-
+ message: '#^Parameter \#4 \$sort_columns of method Fisharebest\\Webtrees\\Services\\DatatablesService\:\:handleQuery\(\) expects array\<Illuminate\\Database\\Query\\Expression\<string\>\|string\>, array\{0\: ''multimedia_file_refn'', 2\: Illuminate\\Database\\Query\\Expression\<''descriptive_title \|…''\>\} given\.$#'
+ identifier: argument.type
+ count: 2
+ path: app/Http/RequestHandlers/ManageMediaData.php
+
+ -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
@@ -6775,7 +6781,7 @@ parameters:
path: app/Services/AdminService.php
-
- message: '#^Parameter \#1 \$table of static method Illuminate\\Database\\Capsule\\Manager\:\:table\(\) expects Closure\|Illuminate\\Database\\Query\\Builder\|string, Illuminate\\Database\\Query\\Expression given\.$#'
+ message: '#^Parameter \#1 \$table of static method Illuminate\\Database\\Capsule\\Manager\:\:table\(\) expects Closure\|Illuminate\\Database\\Query\\Builder\|string, Illuminate\\Database\\Query\\Expression\<non\-falsy\-string\> given\.$#'
identifier: argument.type
count: 1
path: app/Services/AdminService.php
@@ -7783,6 +7789,12 @@ parameters:
path: app/Services/SearchService.php
-
+ message: '#^Parameter \#2 \$column of method Fisharebest\\Webtrees\\Services\\SearchService\:\:whereSearch\(\) expects Illuminate\\Database\\Query\\Expression\<string\>\|string, Illuminate\\Database\\Query\\Expression\<non\-falsy\-string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Services/SearchService.php
+
+ -
message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
identifier: argument.type
count: 1