-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan-baseline.neon
131 lines (106 loc) · 7.74 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
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Mockery\\\\LegacyMockInterface\\:\\:once\\(\\)\\.$#"
count: 1
path: packages/core/src/Observer/DispatcherTest.php
-
message: "#^Parameter \\#1 \\$dependency of class LastDragon_ru\\\\LaraASP\\\\Documentator\\\\Processor\\\\ExecutorTraversable constructor expects LastDragon_ru\\\\LaraASP\\\\Documentator\\\\Processor\\\\Contracts\\\\Dependency\\<Traversable\\<mixed, LastDragon_ru\\\\LaraASP\\\\Documentator\\\\Processor\\\\FileSystem\\\\Directory\\|LastDragon_ru\\\\LaraASP\\\\Documentator\\\\Processor\\\\FileSystem\\\\File\\>\\>, LastDragon_ru\\\\LaraASP\\\\Documentator\\\\Processor\\\\Contracts\\\\Dependency\\<\\*\\> given\\.$#"
count: 1
path: packages/documentator/src/Processor/Executor.php
-
message: "#^Parameter \\#1 \\$offset of method LastDragon_ru\\\\LaraASP\\\\Eloquent\\\\Iterators\\\\IteratorImpl\\<TItem of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:setOffset\\(\\) expects int\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/eloquent/src/Iterators/ChunkedChangeSafeIterator.php
-
message: "#^Call to an undefined method Mockery\\\\LegacyMockInterface\\:\\:times\\(\\)\\.$#"
count: 2
path: packages/eloquent/src/Iterators/ChunkedChangeSafeIteratorTest.php
-
message: "#^Call to an undefined method Mockery\\\\LegacyMockInterface\\:\\:once\\(\\)\\.$#"
count: 2
path: packages/eloquent/src/Iterators/ChunkedIteratorTest.php
-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\Formatter\\\\Formatter\\:\\:getDefaultTimezone\\(\\) should return DateTimeZone\\|IntlTimeZone\\|string\\|null but returns mixed\\.$#"
count: 1
path: packages/formatter/src/Formatter.php
-
message: "#^Parameter \\#2 \\$factory of method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Package\\\\TestCase\\:\\:override\\(\\) contains unresolvable type\\.$#"
count: 1
path: packages/graphql/src/Stream/Directives/DirectiveTest.php
-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\:\\:imageable\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphTo\\<LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Role\\|LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\User, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\MorphTo\\<Illuminate\\\\Database\\\\Eloquent\\\\Model, LastDragon_ru\\\\LaraASP\\\\GraphQL\\\\Testing\\\\Package\\\\Models\\\\Image\\>\\.$#"
count: 1
path: packages/graphql/src/Testing/Package/Models/Image.php
-
message: "#^Callable callable\\(\\)\\: \\(object\\|null\\) invoked with 1 parameter, 0 required\\.$#"
count: 3
path: packages/serializer/src/Casts/SerializedAttributeTest.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$configs of method LastDragon_ru\\\\LaraASP\\\\Core\\\\Utils\\\\ConfigMerger\\:\\:merge\\(\\) expects array, mixed given\\.$#"
count: 1
path: packages/spa/src/Http/Controllers/SpaController.php
-
message: "#^Parameter \\#3 \\$path of method LastDragon_ru\\\\LaraASP\\\\Spa\\\\Http\\\\Resources\\\\Resource\\:\\:mapResourceValue\\(\\) expects array\\<string\\>, array given\\.$#"
count: 1
path: packages/spa/src/Http/Resources/Resource.php
-
message: "#^Cannot access property \\$id on mixed\\.$#"
count: 1
path: packages/spa/src/Routing/ResolverTest.php
-
message: "#^Parameter \\#1 \\$timezone of method DateTime\\:\\:setTimezone\\(\\) expects DateTimeZone, mixed given\\.$#"
count: 1
path: packages/spa/src/Validation/Rules/DateTimeRule.php
-
message: "#^Parameter \\#1 \\$query of method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Comparators\\\\DatabaseQueryComparator\\:\\:normalize\\(\\) expects LastDragon_ru\\\\LaraASP\\\\Testing\\\\Database\\\\QueryLog\\\\Query, mixed given\\.$#"
count: 2
path: packages/testing/src/Comparators/DatabaseQueryComparator.php
-
message: "#^Parameter \\#1 \\$json of static method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\Args\\:\\:getJson\\(\\) expects array\\|bool\\|float\\|int\\|JsonSerializable\\|SplFileInfo\\|stdClass\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/testing/src/Constraints/Json/JsonFragmentMatchesSchema.php
-
message: "#^Parameter \\#1 \\$json of static method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\Args\\:\\:getJson\\(\\) expects array\\|bool\\|float\\|int\\|JsonSerializable\\|SplFileInfo\\|stdClass\\|string\\|null, mixed given\\.$#"
count: 2
path: packages/testing/src/Constraints/Json/JsonMatchesFragment.php
-
message: "#^Parameter \\#1 \\$json of static method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\Args\\:\\:getJson\\(\\) expects array\\|bool\\|float\\|int\\|JsonSerializable\\|SplFileInfo\\|stdClass\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/testing/src/Constraints/Json/JsonMatchesSchema.php
-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Constraints\\\\Response\\\\Factory\\:\\:getCache\\(\\) should return WeakMap\\<Illuminate\\\\Testing\\\\TestResponse\\|Symfony\\\\Component\\\\HttpFoundation\\\\Response, Psr\\\\Http\\\\Message\\\\ResponseInterface\\> but returns WeakMap\\<Illuminate\\\\Testing\\\\TestResponse\\|Symfony\\\\Component\\\\HttpFoundation\\\\Response, Psr\\\\Http\\\\Message\\\\ResponseInterface\\>\\|WeakMap\\<object, mixed\\>\\.$#"
count: 1
path: packages/testing/src/Constraints/Response/Factory.php
-
message: "#^Parameter \\#1 \\$instances \\(Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\), Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\) of method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Database\\\\Eloquent\\\\Factories\\\\Factory\\:\\:callAfterCreating\\(\\) should be contravariant with parameter \\$instances \\(Illuminate\\\\Support\\\\Collection\\) of method Illuminate\\\\Database\\\\Eloquent\\\\Factories\\\\Factory\\<TModel of Illuminate\\\\Database\\\\Eloquent\\\\Model\\>\\:\\:callAfterCreating\\(\\)$#"
count: 1
path: packages/testing/src/Database/Eloquent/Factories/Factory.php
-
message: "#^Parameter \\#2 \\$json of static method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Mixins\\\\Assert\\:\\:assertJsonMatchesSchema\\(\\) expects array\\<string\\>\\|bool\\|float\\|int\\|JsonSerializable\\|SplFileInfo\\|stdClass\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/testing/src/Mixins/TestResponseMixin.php
-
message: "#^Type alias SettingsCallback contains invalid type LastDragon_ru\\\\LaraASP\\\\Testing\\\\Package\\\\WithConfig\\.$#"
count: 1
path: packages/testing/src/Package/WithConfig.php
-
message: "#^Type alias SettingsFactory contains invalid type LastDragon_ru\\\\LaraASP\\\\Testing\\\\Package\\\\WithConfig\\.$#"
count: 1
path: packages/testing/src/Package/WithConfig.php
-
message: "#^Parameter \\#1 \\$items of method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Providers\\\\BaseDataProvider\\:\\:replaceExpectedValues\\(\\) expects array\\<array\\>, array\\<T\\> given\\.$#"
count: 1
path: packages/testing/src/Providers/TraversableDataProvider.php
-
message: "#^Method LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\Args\\:\\:getJson\\(\\) should return array\\|bool\\|float\\|int\\|stdClass\\|string\\|null but returns mixed\\.$#"
count: 1
path: packages/testing/src/Utils/Args.php
-
message: "#^Type alias TranslationsCallback contains invalid type LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\WithTranslations\\.$#"
count: 1
path: packages/testing/src/Utils/WithTranslations.php
-
message: "#^Type alias TranslationsFactory contains invalid type LastDragon_ru\\\\LaraASP\\\\Testing\\\\Utils\\\\WithTranslations\\.$#"
count: 1
path: packages/testing/src/Utils/WithTranslations.php