diff --git a/phpstan.neon b/phpstan.neon index 0a63a2399..952732b96 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -92,7 +92,6 @@ parameters: - '#Method App\\Http\\Controllers\\CalendarController::__invoke\(\) has no return type specified\.#' - '#Method App\\Http\\Controllers\\MerchandiseController::handleMissingModel\(\) has parameter \$exception with generic class Illuminate\\Database\\Eloquent\\ModelNotFoundException but does not specify its types: TModel#' - '#Method App\\Models\\[a-zA-Z]+::[a-zA-Z]+\(\) should return Illuminate\\Database\\Eloquent\\Relations\\[a-zA-Z]+ but returns Illuminate\\Database\\Eloquent\\Relations\\[a-zA-Z]+\.#' - - '#Method App\\Models\\[a-zA-Z]+::[a-zA-Z]+\(\) should return Illuminate\\Database\\Eloquent\\Relations\\[a-zA-Z]+ but returns Illuminate\\Database\\Eloquent\\Relations\\[a-zA-Z]+\.#' - '#Method App\\Models\\[a-zA-Z]+::[a-zA-Z]+\(\) should return Illuminate\\Database\\Eloquent\\Relations\\MorphTo but returns Illuminate\\Database\\Eloquent\\Relations\\MorphTo\.#' - '#Method App\\Models\\[a-zA-Z]+::getMorphClassStatic\(\) should return string but returns int\|string\|false\.#' - '#Method App\\Models\\[a-zA-Z]+::removeFalsyAssocArrayValues\(\) has parameter \$arr with no value type specified in iterable type array\.#' @@ -100,13 +99,17 @@ parameters: - '#Method App\\Models\\Airport::getRows\(\) should return array> but returns array, array>\.#' - '#Method App\\Models\\Payment::getSquareOrderState\(\) should return string\|null but returns mixed\.#' - '#Method App\\Models\\Team::routeNotificationForSlack\(\) should return string\|null but returns mixed\.#' + - '#Method App\\Models\\User::duesPackages\(\) should return Illuminate\\Database\\Eloquent\\Relations\\HasManyThrough but returns Illuminate\\Database\\Eloquent\\Relations\\HasManyThrough\.#' + - '#Method App\\Models\\User::merchandise\(\) should return Illuminate\\Database\\Eloquent\\Relations\\HasManyThrough but returns Illuminate\\Database\\Eloquent\\Relations\\HasManyThrough\.#' - '#Method App\\Models\\User::novaNotifications\(\) should return Illuminate\\Database\\Eloquent\\Relations\\MorphMany but returns Illuminate\\Database\\Eloquent\\Relations\\MorphMany\.#' - '#Method App\\Nova\\[a-zA-Z0-9]+::__invoke\(\) return type has no value type specified in iterable type array\.#' - '#Method App\\Nova\\[a-zA-Z0-9]+::fields\(\) return type has no value type specified in iterable type array\.#' - '#Method App\\Nova\\Actions\\[a-zA-Z0-9]+::handle\(\) has no return type specified\.#' - '#Method App\\Nova\\Actions\\Payments\\[a-zA-Z0-9]+::handle\(\) has no return type specified\.#' - '#Method App\\Nova\\Filters\\[a-zA-Z]+::apply\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types: TModel#' + - '#Method App\\Nova\\Filters\\[a-zA-Z]+::apply\(\) return type with generic class Illuminate\\Database\\Eloquent\\Builder does not specify its types: TModel#' - '#Method App\\Nova\\Filters\\[a-zA-Z]+::options\(\) should return array but returns array\.#' + - '#Method App\\Nova\\Metrics\\[a-zA-Z]+::query\(\) return type with generic class Illuminate\\Database\\Eloquent\\Builder does not specify its types: TModel#' - '#Method App\\Nova\\Resource::scoutQuery\(\) has parameter \$query with generic class Laravel\\Scout\\Builder but does not specify its types: TModel#' - '#Method App\\Nova\\Resource::scoutQuery\(\) return type with generic class Laravel\\Scout\\Builder does not specify its types: TModel#' - '#Method App\\Nova\\Travel::showFieldOnForms\(\) has parameter \$formData with generic class Laravel\\Nova\\Fields\\FormData but does not specify its types: TKey, TValue#'