-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
20 lines (20 loc) · 1.62 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
level: 8
paths:
- "./src"
- "./tests"
ignoreErrors:
- '#Call to an undefined method object::getTable\(\).#'
- '#Cannot call method has\(\) on array|Illuminate\\Http\\Request\|string\|null.#'
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder|Illuminate\\Database\\Query\\Builder::getRelation\(\).#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Fixtures\\Models\\Customer::count\(\)#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Fixtures\\Models\\Customer::select\(\)#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Relations\\OneToOne_OneToMany\\Fixtures\\Models\\(.*)::find\(\)#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Relations\\OneToOne_OneToMany\\Fixtures\\Models\\(.*)::count\(\)#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Relations\\OneToOne_OneToMany\\Fixtures\\Models\\(.*)::select\(\)#'
- '#Call to an undefined static method SDamian\\Tests\\Larasort\\Relations\\OneToOne_OneToMany\\Fixtures\\Models\\(.*)::autosortWith\(\)#'
# From PHP 8.2 :
#- '#Access to an undefined property SDamian\\Tests\\Larasort\\Fixtures\\Models\\(.*)::\$sortablesAs.#'
#- '#Access to an undefined property SDamian\\Tests\\Larasort\\Fixtures\\Models\\(.*)::\$sortablesRelated.#'
#- '#SDamian\\Tests\\Larasort\\Relations\\OneToOne_OneToMany\\Fixtures\\Models\\(.*)::\$sortablesAs.#'
#- "Call to function property_exists() with $this(SDamian\Tests\Larasort\Relations\OneToOne_OneToMany\Fixtures\Models\User) and 'sortablesToTables' will always evaluate to false.#"