-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
79 lines (67 loc) · 3.59 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
parameters:
ignoreErrors:
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Author\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 1
path: app/Models/Article.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Category\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 1
path: app/Models/Article.php
-
message: '#^Generic type Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Source\> in PHPDoc tag @return does not specify all template types of class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\: TRelatedModel, TDeclaringModel$#'
identifier: generics.lessTypes
count: 1
path: app/Models/Article.php
-
message: '#^Instanceof between string and Ramsey\\Uuid\\UuidInterface will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Models/Article.php
-
message: '#^Method App\\Models\\Article\:\:author\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Author\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Author, \$this\(App\\Models\\Article\)\>\.$#'
identifier: return.type
count: 1
path: app/Models/Article.php
-
message: '#^Method App\\Models\\Article\:\:category\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Category\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Category, \$this\(App\\Models\\Article\)\>\.$#'
identifier: return.type
count: 1
path: app/Models/Article.php
-
message: '#^Method App\\Models\\Article\:\:source\(\) should return Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Source\> but returns Illuminate\\Database\\Eloquent\\Relations\\BelongsTo\<App\\Models\\Source, \$this\(App\\Models\\Article\)\>\.$#'
identifier: return.type
count: 1
path: app/Models/Article.php
-
message: '#^Property App\\Models\\Article\:\:\$casts type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: app/Models/Article.php
-
message: '#^Instanceof between string and Ramsey\\Uuid\\UuidInterface will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Models/Author.php
-
message: '#^Instanceof between string and Ramsey\\Uuid\\UuidInterface will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Models/Category.php
-
message: '#^Instanceof between string and Ramsey\\Uuid\\UuidInterface will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: app/Models/Source.php
-
message: '#^Method App\\Services\\LaravelPaginatorAdapter\:\:__construct\(\) has parameter \$paginator with generic interface Illuminate\\Contracts\\Pagination\\LengthAwarePaginator but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: app/Services/LaravelPaginatorAdapter.php
-
message: '#^Method App\\Services\\LaravelPaginatorAdapter\:\:items\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: app/Services/LaravelPaginatorAdapter.php