forked from spatie/laravel-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
146 lines (118 loc) · 4.68 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
count: 1
path: src/Casts/DateTimeInterfaceCast.php
-
message: "#^Method Spatie\\\\LaravelData\\\\Data\\:\\:from\\(\\) should return static\\(Spatie\\\\LaravelData\\\\Data\\) but returns Spatie\\\\LaravelData\\\\Contracts\\\\BaseData\\.$#"
count: 1
path: src/Data.php
-
message: "#^Method Spatie\\\\LaravelData\\\\Data\\:\\:withoutMagicalCreationFrom\\(\\) should return static\\(Spatie\\\\LaravelData\\\\Data\\) but returns Spatie\\\\LaravelData\\\\Contracts\\\\BaseData\\.$#"
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: "#^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: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$acceptedTypes is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$dataClass is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$dataCollectableType is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isDataCollectable is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isDataObject is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isLazy is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isMixed is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isNullable is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$isOptional is already assigned\\.$#"
count: 2
path: src/Support/DataType.php
-
message: "#^Instanceof between mixed and Spatie\\\\LaravelData\\\\Attributes\\\\Validation\\\\Rule will always evaluate to false\\.$#"
count: 1
path: src/Support/Validation/RulesMapper.php
-
message: "#^Match arm comparison between true and false is always false\\.$#"
count: 1
path: src/Support/Validation/RulesMapper.php
-
message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
count: 1
path: src/Transformers/DateTimeInterfaceTransformer.php