forked from spatie/laravel-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
101 lines (82 loc) · 3.15 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
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: "#^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: "#^Dead catch \\- ArgumentCountError is never thrown in the try block\\.$#"
count: 1
path: src/Resolvers/DataFromArrayResolver.php
-
message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
count: 1
path: src/Transformers/DateTimeInterfaceTransformer.php