forked from spatie/laravel-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
127 lines (102 loc) · 4.09 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
parameters:
ignoreErrors:
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Dimensions.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Enum.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Exclude.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Exists.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/In.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/NotIn.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Prohibited.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Required.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/StringValidationAttribute.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Attributes/Validation/Unique.php
-
message: "#^Parameter \\#1 \\$time of static method Carbon\\\\Carbon\\:\\:parse\\(\\) expects DateTimeInterface\\|string\\|null, int given\\.$#"
count: 1
path: src/Attributes/Validation/ValidationAttribute.php
-
message: "#^Parameter \\#2 \\$array of function implode expects array\\<string\\>, array\\<object\\|string\\> given\\.$#"
count: 1
path: src/Attributes/Validation/ValidationAttribute.php
-
message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
count: 1
path: src/Casts/DateTimeInterfaceCast.php
-
message: "#^PHPDoc tag @return with type Spatie\\\\LaravelData\\\\CursorPaginatedDataCollection\\<TKey of \\(int\\|string\\), TValue\\> is not subtype of native type static\\(Spatie\\\\LaravelData\\\\CursorPaginatedDataCollection\\<TKey of \\(int\\|string\\), TValue\\>\\)\\.$#"
count: 1
path: src/CursorPaginatedDataCollection.php
-
message: "#^Instanceof between \\*NEVER\\* and Spatie\\\\LaravelData\\\\Contracts\\\\BaseDataCollectable will always evaluate to false\\.$#"
count: 1
path: src/Data.php
-
message: "#^PHPDoc tag @return with type Spatie\\\\LaravelData\\\\DataCollection\\<int, TValue\\> is not subtype of native type static\\(Spatie\\\\LaravelData\\\\DataCollection\\<TKey of \\(int\\|string\\), TValue\\>\\)\\.$#"
count: 1
path: src/DataCollection.php
-
message: "#^Consider using bind method instead or pass a closure\\.$#"
count: 2
path: src/LaravelDataServiceProvider.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Pagination\\\\Paginator\\:\\:count\\(\\)\\.$#"
count: 1
path: src/PaginatedDataCollection.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Pagination\\\\Paginator\\:\\:through\\(\\)\\.$#"
count: 2
path: src/PaginatedDataCollection.php
-
message: "#^PHPDoc tag @return with type Spatie\\\\LaravelData\\\\PaginatedDataCollection\\<TKey of \\(int\\|string\\), TValue\\> is not subtype of native type static\\(Spatie\\\\LaravelData\\\\PaginatedDataCollection\\<TKey of \\(int\\|string\\), TValue\\>\\)\\.$#"
count: 1
path: src/PaginatedDataCollection.php
-
message: "#^PHPDoc tag @var for variable \\$dataClass has invalid type Spatie\\\\LaravelData\\\\Concerns\\\\EmptyData\\.$#"
count: 1
path: src/Resolvers/EmptyDataResolver.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Resolvers/TransformedDataResolver.php
-
message: "#^Instanceof between \\*NEVER\\* and Spatie\\\\LaravelData\\\\Contracts\\\\BaseDataCollectable will always evaluate to false\\.$#"
count: 1
path: src/Resource.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/Support/DataConfig.php
-
message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
count: 1
path: src/Transformers/DateTimeInterfaceTransformer.php