forked from algolia/scout-extended
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
17 lines (17 loc) · 906 Bytes
/
phpstan.neon.dist
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
checkMissingIterableValueType: false
ignoreErrors:
- '#Illuminate\\Database\\Eloquent\\Model::searchableAs\(\)#'
- '#Algolia\\ScoutExtended\\ScoutExtendedServiceProvider::getModel\(\)#'
- '#Cannot call static method create\(\) on string\|null#'
- '#Unsafe usage of new static#'
- '#Method Algolia\\ScoutExtended\\Console\\Commands\\OptimizeCommand::handle\(\) has no return typehint specified.#'
- '#Call to an undefined method Illuminate\\Support\\HigherOrderCollectionProxy::pushSoftDeleteMetadata\(\)#'
- '#Cannot call method withScoutMetadata\(\) on class-string\|object.#'
- '#Cannot call method getScoutKey\(\) on class-string\|object.#'
- '#Cannot call method toSearchableArray\(\) on class-string\|object.#'