summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-05-20 21:11:53 +0100
committerGreg Roach <greg@subaqua.co.uk>2025-05-20 21:13:48 +0100
commit87efd381397704d01e30836eaf0cb7afa7b644cc (patch)
tree4ca02a9a34e29b12d64ff8e06fb3a76903007c16 /phpstan-baseline.neon
parent69374856027f5a24b1585503c875853c1b6c3784 (diff)
downloadwebtrees-87efd381397704d01e30836eaf0cb7afa7b644cc.tar.gz
webtrees-87efd381397704d01e30836eaf0cb7afa7b644cc.tar.bz2
webtrees-87efd381397704d01e30836eaf0cb7afa7b644cc.zip
Add tree-import CLI command
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon48
1 files changed, 48 insertions, 0 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 86d0971fc0..1b0e9fd33d 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -175,6 +175,54 @@ parameters:
path: app/Cli/Commands/TreeExport.php
-
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and string\|false results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Method Fisharebest\\Webtrees\\Cli\\Commands\\TreeImport\:\:autoCompleteTreeName\(\) should return array\<string\> but returns array\<mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_pop expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Parameter \#1 \$gedrec of method Fisharebest\\Webtrees\\Services\\GedcomImportService\:\:importRecord\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Parameter \#1 \$stream of function fread expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Cli/Commands/TreeImport.php
+
+ -
+ message: '#^Parameter \#2 \$max of class Symfony\\Component\\Console\\Helper\\ProgressBar constructor expects int, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Cli/Commands/TreeImport.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/TreeImport.php
+
+ -
message: '#^Parameter \#1 \$command of method Symfony\\Component\\Console\\Application\:\:add\(\) expects Symfony\\Component\\Console\\Command\\Command, mixed given\.$#'
identifier: argument.type
count: 1