forked from algolia/scout-extended
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
17 lines (17 loc) · 1.04 KB
/
phpstan.neon.dist
File metadata and controls
17 lines (17 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
includes:
- vendor/nunomaduro/larastan/extension.neon
parameters:
level: max
paths:
- src
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Using \$this in static method Algolia\\ScoutExtended\\Searchable\\Aggregator::bootSearchable\(\).#'
- '#Method Algolia\\ScoutExtended\\Engines\\AlgoliaEngine::map\(\) should return Illuminate\\Database\\Eloquent\\Collection but returns Illuminate\\Support\\Collection.#'
- '#Algolia\\ScoutExtended\\Engines\\AlgoliaEngine::__construct\(\) does not call parent constructor from Laravel\\Scout\\Engines\\AlgoliaEngine.#'
- '#Illuminate\\Database\\Eloquent\\Model::searchableAs\(\)#'
- '#Property Laravel\\Scout\\Builder::\$callback \(string\) does not accept Closure\(mixed, mixed, mixed\): mixed.#'
- '#Algolia\\ScoutExtended\\ScoutExtendedServiceProvider::getModel\(\)#'
- '#Cannot call static method create\(\) on string|null#'
- '#Cannot call method newCollection\(\) on mixed.#'
- '#Casting to string something that#'