summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-12-09 08:56:30 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-12-09 09:09:28 +0000
commit17537091eee613e5ec4ae6fd5d9578d42d15481c (patch)
treed8f3033f94c67516cc26712d5d12f7efe6b235b3 /phpstan-baseline.neon
parent5d7fb922e4c0ec03271b41ac05ba5c9b7ce3c588 (diff)
downloadwebtrees-17537091eee613e5ec4ae6fd5d9578d42d15481c.tar.gz
webtrees-17537091eee613e5ec4ae6fd5d9578d42d15481c.tar.bz2
webtrees-17537091eee613e5ec4ae6fd5d9578d42d15481c.zip
Fix: #5068 - updated timestamp on journal/news items
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon42
1 files changed, 42 insertions, 0 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 1f08efeadf..ef2baed9b1 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -73,6 +73,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
@@ -3655,12 +3661,30 @@ parameters:
path: app/Module/FamilyTreeNewsModule.php
-
+ message: '#^Access to an undefined property object\:\:\$updated\.$#'
+ identifier: property.notFound
+ count: 1
+ path: app/Module/FamilyTreeNewsModule.php
+
+ -
+ message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ 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: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: app/Module/FamilyTreeNewsModule.php
+
+ -
message: '#^Cannot call method embedTags\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
@@ -5449,12 +5473,30 @@ parameters:
path: app/Module/UserJournalModule.php
-
+ message: '#^Access to an undefined property object\:\:\$updated\.$#'
+ identifier: property.notFound
+ count: 1
+ path: app/Module/UserJournalModule.php
+
+ -
+ message: '#^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ 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: '#^Parameter \#2 \$datetime of static method DateTimeImmutable\:\:createFromFormat\(\) expects string, mixed 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