diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6d1cf8c6331..d7e8ccf0d2a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1417,13 +1417,13 @@ parameters: path: app/GedcomRecord.php - - message: '#^Strict comparison using \!\=\= between non\-empty\-string and '''' will always evaluate to true\.$#' + message: '#^Strict comparison using \!\=\= between lowercase\-string&non\-falsy\-string and '''' will always evaluate to true\.$#' identifier: notIdentical.alwaysTrue count: 1 path: app/GedcomRecord.php - - message: '#^Strict comparison using \!\=\= between non\-falsy\-string and '''' will always evaluate to true\.$#' + message: '#^Strict comparison using \!\=\= between non\-empty\-string and '''' will always evaluate to true\.$#' identifier: notIdentical.alwaysTrue count: 1 path: app/GedcomRecord.php @@ -11532,78 +11532,12 @@ parameters: count: 1 path: resources/views/modules/recent_changes/changes-list.phtml - - - message: '#^Access to an undefined property object\:\:\$record\.$#' - identifier: property.notFound - count: 12 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Access to an undefined property object\:\:\$time\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Access to an undefined property object\:\:\$user\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method fullName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method sortName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method tag\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method timestamp\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method url\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Cannot call method userName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/recent_changes/changes-table.phtml - - message: '#^Parameter \#1 \$value of function e expects Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|string\|null, int given\.$#' identifier: argument.type count: 1 path: resources/views/modules/recent_changes/changes-table.phtml - - - message: '#^Parameter \#1 \$value of function e expects Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|string\|null, mixed given\.$#' - identifier: argument.type - count: 3 - path: resources/views/modules/recent_changes/changes-table.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 3 - path: resources/views/modules/recent_changes/changes-table.phtml - - message: '#^Parameter \#1 \$value of function e expects Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|string\|null, int given\.$#' identifier: argument.type @@ -12084,102 +12018,12 @@ parameters: count: 1 path: resources/views/modules/yahrzeit/list.phtml - - - message: '#^Access to an undefined property object\:\:\$fact\.$#' - identifier: property.notFound - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Access to an undefined property object\:\:\$fact_date\.$#' - identifier: property.notFound - count: 1 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Access to an undefined property object\:\:\$individual\.$#' - identifier: property.notFound - count: 7 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Access to an undefined property object\:\:\$yahrzeit_date\.$#' - identifier: property.notFound - count: 3 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot access property \$anniv on mixed\.$#' - identifier: property.nonObject - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method alternateName\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method display\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method fullName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method julianDay\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method sortName\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method tree\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Cannot call method url\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#' - identifier: argument.type - count: 1 - path: resources/views/modules/yahrzeit/table.phtml - - message: '#^Parameter \#1 \$value of function e expects Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|string\|null, int given\.$#' identifier: argument.type count: 1 path: resources/views/modules/yahrzeit/table.phtml - - - message: '#^Parameter \#1 \$value of function e expects Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|string\|null, mixed given\.$#' - identifier: argument.type - count: 5 - path: resources/views/modules/yahrzeit/table.phtml - - - - message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#' - identifier: echo.nonString - count: 4 - path: resources/views/modules/yahrzeit/table.phtml - - message: '#^Access to an undefined property object\:\:\$change_id\.$#' identifier: property.notFound diff --git a/resources/views/lists/anniversaries-table.phtml b/resources/views/lists/anniversaries-table.phtml index e596d34a2da..9599e8f3dbf 100644 --- a/resources/views/lists/anniversaries-table.phtml +++ b/resources/views/lists/anniversaries-table.phtml @@ -57,10 +57,10 @@ use Illuminate\Support\Collection; = view('icons/sex', ['sex' => $record->sex()]) ?> -