From 891f60995b3356c6b590abf87719b13186c23c58 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Thu, 12 Oct 2023 11:14:31 +0200 Subject: [PATCH] Supress static code error in Searchable\Aggregator.php This is a workaround for #330 that allows CI to succeed again --- phpstan.neon.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index cc452f0..03b3304 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -7,5 +7,6 @@ parameters: checkMissingIterableValueType: false ignoreErrors: - '#Illuminate\\Database\\Eloquent\\Model::searchableAs\(\)#' + - '#Illuminate\\Database\\Eloquent\\Model::searchableUsing\(\)#' - '#Algolia\\ScoutExtended\\ScoutExtendedServiceProvider::getModel\(\)#' - '#Unsafe usage of new static#'