diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2024-11-29 14:28:11 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2024-11-29 14:28:11 +0000 |
| commit | d8ec4a42d3370f2ea6f5e8c24245661b03785aad (patch) | |
| tree | e7759e0c253f3704b025f3bf83703bb9a4dc6456 /phpstan-baseline.neon | |
| parent | 8ab252c3b6c76c48b4455b068cbcdd0934244244 (diff) | |
| download | webtrees-d8ec4a42d3370f2ea6f5e8c24245661b03785aad.tar.gz webtrees-d8ec4a42d3370f2ea6f5e8c24245661b03785aad.tar.bz2 webtrees-d8ec4a42d3370f2ea6f5e8c24245661b03785aad.zip | |
PHPdoc
Diffstat (limited to 'phpstan-baseline.neon')
| -rw-r--r-- | phpstan-baseline.neon | 250 |
1 files changed, 5 insertions, 245 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 83849d764f..3d76dce669 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -73,12 +73,6 @@ 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 @@ -5059,49 +5053,31 @@ parameters: path: app/Module/PlacesModule.php - - message: '#^Access to an undefined property object\:\:\$record\.$#' - identifier: property.notFound - count: 2 - path: app/Module/RecentChangesModule.php - - - - message: '#^Access to an undefined property object\:\:\$time\.$#' - identifier: property.notFound - count: 4 - path: app/Module/RecentChangesModule.php - - - message: '#^Cannot cast mixed to int\.$#' identifier: cast.int count: 1 path: app/Module/RecentChangesModule.php - - message: '#^Parameter \#1 \$items of method Illuminate\\Support\\Collection\<int,Fisharebest\\Webtrees\\Individual\>\:\:merge\(\) expects Illuminate\\Contracts\\Support\\Arrayable\<int, Fisharebest\\Webtrees\\Individual\>\|iterable\<int, Fisharebest\\Webtrees\\Individual\>, Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\Family\> given\.$#' - identifier: argument.type - count: 1 - path: app/Module/RecentChangesModule.php - - - - message: '#^Parameter \#1 \$string of method Fisharebest\\Webtrees\\Contracts\\TimestampFactoryInterface\:\:fromString\(\) expects string\|null, mixed given\.$#' - identifier: argument.type + message: '#^Method Fisharebest\\Webtrees\\Module\\RecentChangesModule\:\:getRecentChangesFromDatabase\(\) should return Illuminate\\Support\\Collection\<\(int\|string\), object\{record\: Fisharebest\\Webtrees\\GedcomRecord, time\: Fisharebest\\Webtrees\\Contracts\\TimestampInterface, user\: Fisharebest\\Webtrees\\Contracts\\UserInterface\}\> but returns Illuminate\\Support\\Collection\<int, object\{record\: Fisharebest\\Webtrees\\GedcomRecord\|null, time\: Fisharebest\\Webtrees\\Contracts\\TimestampInterface, user\: Fisharebest\\Webtrees\\User\|null\}&stdClass\>\.$#' + identifier: return.type count: 1 path: app/Module/RecentChangesModule.php - - message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#' + message: '#^Parameter \#1 \$items of method Illuminate\\Support\\Collection\<int,Fisharebest\\Webtrees\\Individual\>\:\:merge\(\) expects Illuminate\\Contracts\\Support\\Arrayable\<int, Fisharebest\\Webtrees\\Individual\>\|iterable\<int, Fisharebest\\Webtrees\\Individual\>, Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\Family\> given\.$#' identifier: argument.type count: 1 path: app/Module/RecentChangesModule.php - - message: '#^Parameter \#1 of closure expects Fisharebest\\Webtrees\\GedcomRecord, mixed given\.$#' + message: '#^Parameter \#1 \$string of method Fisharebest\\Webtrees\\Contracts\\TimestampFactoryInterface\:\:fromString\(\) expects string\|null, mixed given\.$#' identifier: argument.type count: 1 path: app/Module/RecentChangesModule.php - - message: '#^Parameter \#2 of closure expects Fisharebest\\Webtrees\\GedcomRecord, mixed given\.$#' + message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#' identifier: argument.type count: 1 path: app/Module/RecentChangesModule.php @@ -9817,48 +9793,6 @@ parameters: path: resources/views/modules/favorites/favorites.phtml - - message: '#^Access to an undefined property object\:\:\$body\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$news_id\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$subject\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$updated\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 2 - path: resources/views/modules/gedcom_news/list.phtml - - - - message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#' - identifier: argument.type - count: 2 - path: resources/views/modules/gedcom_news/list.phtml - - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#' identifier: argument.type count: 1 @@ -10051,60 +9985,6 @@ parameters: path: resources/views/modules/place-hierarchy/sidebar.phtml - - message: '#^Access to an undefined property object\:\:\$record\.$#' - identifier: property.notFound - count: 3 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Access to an undefined property object\:\:\$time\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Access to an undefined property object\:\:\$user\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Cannot call method fullName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Cannot call method lastChangeUser\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Cannot call method url\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Cannot call method userName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 3 - path: resources/views/modules/recent_changes/changes-list.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 1 - path: resources/views/modules/recent_changes/changes-list.phtml - - - message: '#^Cannot call method getCloseRelationshipName\(\) on mixed\.$#' identifier: method.nonObject count: 3 @@ -10387,126 +10267,6 @@ parameters: path: resources/views/modules/user-messages/user-messages.phtml - - message: '#^Access to an undefined property object\:\:\$body\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$news_id\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$subject\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$updated\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 2 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#' - identifier: argument.type - count: 2 - path: resources/views/modules/user_blog/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$fact\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$individual\.$#' - identifier: property.notFound - count: 5 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Access to an undefined property object\:\:\$yahrzeit_date\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot access property \$anniv on mixed\.$#' - identifier: property.nonObject - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method date\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method display\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method fullName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method sex\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method tree\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Cannot call method url\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 3 - path: resources/views/modules/yahrzeit/list.phtml - - - - message: '#^Parameter \#2 \.\.\.\$args of static method Fisharebest\\Webtrees\\I18N\:\:translate\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: resources/views/modules/yahrzeit/list.phtml - - - message: '#^Access to an undefined property object\:\:\$change_id\.$#' identifier: property.notFound count: 2 |
