Passed
Push — main ( d133ef...439717 )
by Jeroen
02:08
created
phpstan-baseline.php 1 patch
Indentation   +112 added lines, -112 removed lines patch added patch discarded remove patch
@@ -2,172 +2,172 @@
 block discarded – undo
2 2
 
3 3
 $ignoreErrors = [];
4 4
 $ignoreErrors[] = [
5
-	'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
6
-	'identifier' => 'argument.type',
7
-	'count' => 1,
8
-	'path' => __DIR__ . '/src/Registry/Saga/Cached/CachedSagaRegistryDecorator.php',
5
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
6
+    'identifier' => 'argument.type',
7
+    'count' => 1,
8
+    'path' => __DIR__ . '/src/Registry/Saga/Cached/CachedSagaRegistryDecorator.php',
9 9
 ];
10 10
 $ignoreErrors[] = [
11
-	'message' => '#^Cannot cast mixed to string\\.$#',
12
-	'identifier' => 'cast.string',
13
-	'count' => 2,
14
-	'path' => __DIR__ . '/src/Resolver/Common/DomainTag/DomainTagValueHelper.php',
11
+    'message' => '#^Cannot cast mixed to string\\.$#',
12
+    'identifier' => 'cast.string',
13
+    'count' => 2,
14
+    'path' => __DIR__ . '/src/Resolver/Common/DomainTag/DomainTagValueHelper.php',
15 15
 ];
16 16
 $ignoreErrors[] = [
17
-	'message' => '#^Parameter \\#2 \\$array of function array_map expects array, mixed given\\.$#',
18
-	'identifier' => 'argument.type',
19
-	'count' => 1,
20
-	'path' => __DIR__ . '/src/Resolver/Common/DomainTag/DomainTagValueHelper.php',
17
+    'message' => '#^Parameter \\#2 \\$array of function array_map expects array, mixed given\\.$#',
18
+    'identifier' => 'argument.type',
19
+    'count' => 1,
20
+    'path' => __DIR__ . '/src/Resolver/Common/DomainTag/DomainTagValueHelper.php',
21 21
 ];
22 22
 $ignoreErrors[] = [
23
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Resolver\\\\Common\\\\SagaId\\\\SagaIdValueHelper\\:\\:getSagaIdValue\\(\\) should return string\\|Stringable but returns mixed\\.$#',
24
-	'identifier' => 'return.type',
25
-	'count' => 1,
26
-	'path' => __DIR__ . '/src/Resolver/Common/SagaId/SagaIdValueHelper.php',
23
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Resolver\\\\Common\\\\SagaId\\\\SagaIdValueHelper\\:\\:getSagaIdValue\\(\\) should return string\\|Stringable but returns mixed\\.$#',
24
+    'identifier' => 'return.type',
25
+    'count' => 1,
26
+    'path' => __DIR__ . '/src/Resolver/Common/SagaId/SagaIdValueHelper.php',
27 27
 ];
28 28
 $ignoreErrors[] = [
29
-	'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
30
-	'identifier' => 'argument.type',
31
-	'count' => 1,
32
-	'path' => __DIR__ . '/tests/Registry/Saga/Cached/CachedSagaRegistryDecoratorTest.php',
29
+    'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
30
+    'identifier' => 'argument.type',
31
+    'count' => 1,
32
+    'path' => __DIR__ . '/tests/Registry/Saga/Cached/CachedSagaRegistryDecoratorTest.php',
33 33
 ];
34 34
 $ignoreErrors[] = [
35
-	'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
36
-	'identifier' => 'argument.type',
37
-	'count' => 1,
38
-	'path' => __DIR__ . '/tests/Registry/Saga/Reflector/ReflectorSagaRegistryTest.php',
35
+    'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
36
+    'identifier' => 'argument.type',
37
+    'count' => 1,
38
+    'path' => __DIR__ . '/tests/Registry/Saga/Reflector/ReflectorSagaRegistryTest.php',
39 39
 ];
40 40
 $ignoreErrors[] = [
41
-	'message' => '#^Parameter \\#4 \\$serializer of class Gember\\\\EventSourcing\\\\Repository\\\\Rdbms\\\\RdbmsSagaStore constructor expects Gember\\\\DependencyContracts\\\\Util\\\\Serialization\\\\Serializer\\\\Serializer, mixed given\\.$#',
42
-	'identifier' => 'argument.type',
43
-	'count' => 1,
44
-	'path' => __DIR__ . '/tests/Repository/Rdbms/RdbmsSagaStoreTest.php',
41
+    'message' => '#^Parameter \\#4 \\$serializer of class Gember\\\\EventSourcing\\\\Repository\\\\Rdbms\\\\RdbmsSagaStore constructor expects Gember\\\\DependencyContracts\\\\Util\\\\Serialization\\\\Serializer\\\\Serializer, mixed given\\.$#',
42
+    'identifier' => 'argument.type',
43
+    'count' => 1,
44
+    'path' => __DIR__ . '/tests/Repository/Rdbms/RdbmsSagaStoreTest.php',
45 45
 ];
46 46
 $ignoreErrors[] = [
47
-	'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
48
-	'identifier' => 'argument.type',
49
-	'count' => 1,
50
-	'path' => __DIR__ . '/tests/Resolver/DomainCommand/Cached/CachedDomainCommandResolverDecoratorTest.php',
47
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
48
+    'identifier' => 'argument.type',
49
+    'count' => 1,
50
+    'path' => __DIR__ . '/tests/Resolver/DomainCommand/Cached/CachedDomainCommandResolverDecoratorTest.php',
51 51
 ];
52 52
 $ignoreErrors[] = [
53
-	'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\DomainCommand\\\\DomainCommandDefinition\\:\\:fromPayload\\(\\) expects array\\{commandClassName\\: class\\-string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>\\}, mixed given\\.$#',
54
-	'identifier' => 'argument.type',
55
-	'count' => 1,
56
-	'path' => __DIR__ . '/tests/Resolver/DomainCommand/Cached/CachedDomainCommandResolverDecoratorTest.php',
53
+    'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\DomainCommand\\\\DomainCommandDefinition\\:\\:fromPayload\\(\\) expects array\\{commandClassName\\: class\\-string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>\\}, mixed given\\.$#',
54
+    'identifier' => 'argument.type',
55
+    'count' => 1,
56
+    'path' => __DIR__ . '/tests/Resolver/DomainCommand/Cached/CachedDomainCommandResolverDecoratorTest.php',
57 57
 ];
58 58
 $ignoreErrors[] = [
59
-	'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
60
-	'identifier' => 'argument.type',
61
-	'count' => 1,
62
-	'path' => __DIR__ . '/tests/Resolver/DomainEvent/Cached/CachedDomainEventResolverDecoratorTest.php',
59
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
60
+    'identifier' => 'argument.type',
61
+    'count' => 1,
62
+    'path' => __DIR__ . '/tests/Resolver/DomainEvent/Cached/CachedDomainEventResolverDecoratorTest.php',
63 63
 ];
64 64
 $ignoreErrors[] = [
65
-	'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\DomainEvent\\\\DomainEventDefinition\\:\\:fromPayload\\(\\) expects array\\{eventClassName\\: class\\-string, eventName\\: string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>, sagaIds\\: list\\<array\\{sagaIdName\\: string, propertyName\\: string\\}\\>\\}, mixed given\\.$#',
66
-	'identifier' => 'argument.type',
67
-	'count' => 1,
68
-	'path' => __DIR__ . '/tests/Resolver/DomainEvent/Cached/CachedDomainEventResolverDecoratorTest.php',
65
+    'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\DomainEvent\\\\DomainEventDefinition\\:\\:fromPayload\\(\\) expects array\\{eventClassName\\: class\\-string, eventName\\: string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>, sagaIds\\: list\\<array\\{sagaIdName\\: string, propertyName\\: string\\}\\>\\}, mixed given\\.$#',
66
+    'identifier' => 'argument.type',
67
+    'count' => 1,
68
+    'path' => __DIR__ . '/tests/Resolver/DomainEvent/Cached/CachedDomainEventResolverDecoratorTest.php',
69 69
 ];
70 70
 $ignoreErrors[] = [
71
-	'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
72
-	'identifier' => 'argument.type',
73
-	'count' => 1,
74
-	'path' => __DIR__ . '/tests/Resolver/Saga/Cached/CachedSagaResolverDecoratorTest.php',
71
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
72
+    'identifier' => 'argument.type',
73
+    'count' => 1,
74
+    'path' => __DIR__ . '/tests/Resolver/Saga/Cached/CachedSagaResolverDecoratorTest.php',
75 75
 ];
76 76
 $ignoreErrors[] = [
77
-	'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\SagaDefinition\\:\\:fromPayload\\(\\) expects array\\{sagaClassName\\: class\\-string, sagaName\\: string, sagaId\\: array\\{sagaIdName\\: string, propertyName\\: string\\}, eventSubscribers\\: list\\<array\\{eventClassName\\: class\\-string, methodName\\: string, policy\\: string\\}\\>\\}, mixed given\\.$#',
78
-	'identifier' => 'argument.type',
79
-	'count' => 1,
80
-	'path' => __DIR__ . '/tests/Resolver/Saga/Cached/CachedSagaResolverDecoratorTest.php',
77
+    'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\SagaDefinition\\:\\:fromPayload\\(\\) expects array\\{sagaClassName\\: class\\-string, sagaName\\: string, sagaId\\: array\\{sagaIdName\\: string, propertyName\\: string\\}, eventSubscribers\\: list\\<array\\{eventClassName\\: class\\-string, methodName\\: string, policy\\: string\\}\\>\\}, mixed given\\.$#',
78
+    'identifier' => 'argument.type',
79
+    'count' => 1,
80
+    'path' => __DIR__ . '/tests/Resolver/Saga/Cached/CachedSagaResolverDecoratorTest.php',
81 81
 ];
82 82
 $ignoreErrors[] = [
83
-	'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
84
-	'identifier' => 'argument.type',
85
-	'count' => 1,
86
-	'path' => __DIR__ . '/tests/Resolver/UseCase/Cached/CachedUseCaseResolverDecoratorTest.php',
83
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
84
+    'identifier' => 'argument.type',
85
+    'count' => 1,
86
+    'path' => __DIR__ . '/tests/Resolver/UseCase/Cached/CachedUseCaseResolverDecoratorTest.php',
87 87
 ];
88 88
 $ignoreErrors[] = [
89
-	'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\UseCase\\\\UseCaseDefinition\\:\\:fromPayload\\(\\) expects array\\{useCaseClassName\\: class\\-string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>, commandHandlers\\: list\\<array\\{commandClassName\\: class\\-string, methodName\\: string, policy\\: string\\}\\>, eventSubscribers\\: list\\<array\\{eventClassName\\: class\\-string, methodName\\: string\\}\\>\\}, mixed given\\.$#',
90
-	'identifier' => 'argument.type',
91
-	'count' => 1,
92
-	'path' => __DIR__ . '/tests/Resolver/UseCase/Cached/CachedUseCaseResolverDecoratorTest.php',
89
+    'message' => '#^Parameter \\#1 \\$payload of static method Gember\\\\EventSourcing\\\\Resolver\\\\UseCase\\\\UseCaseDefinition\\:\\:fromPayload\\(\\) expects array\\{useCaseClassName\\: class\\-string, domainTags\\: list\\<array\\{domainTagName\\: string, type\\: string\\}\\>, commandHandlers\\: list\\<array\\{commandClassName\\: class\\-string, methodName\\: string, policy\\: string\\}\\>, eventSubscribers\\: list\\<array\\{eventClassName\\: class\\-string, methodName\\: string\\}\\>\\}, mixed given\\.$#',
90
+    'identifier' => 'argument.type',
91
+    'count' => 1,
92
+    'path' => __DIR__ . '/tests/Resolver/UseCase/Cached/CachedUseCaseResolverDecoratorTest.php',
93 93
 ];
94 94
 $ignoreErrors[] = [
95
-	'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
96
-	'identifier' => 'argument.type',
97
-	'count' => 1,
98
-	'path' => __DIR__ . '/tests/Saga/SagaEventHandlerTest.php',
95
+    'message' => '#^Parameter \\#4 \\$sagaEventSubscriberResolver of class Gember\\\\EventSourcing\\\\Registry\\\\Saga\\\\Reflector\\\\ReflectorSagaRegistry constructor expects Gember\\\\EventSourcing\\\\Resolver\\\\Saga\\\\Default\\\\EventSubscriber\\\\SagaEventSubscriberResolver, mixed given\\.$#',
96
+    'identifier' => 'argument.type',
97
+    'count' => 1,
98
+    'path' => __DIR__ . '/tests/Saga/SagaEventHandlerTest.php',
99 99
 ];
100 100
 $ignoreErrors[] = [
101
-	'message' => '#^Parameter \\#4 \\$serializer of class Gember\\\\EventSourcing\\\\Repository\\\\Rdbms\\\\RdbmsSagaStore constructor expects Gember\\\\DependencyContracts\\\\Util\\\\Serialization\\\\Serializer\\\\Serializer, mixed given\\.$#',
102
-	'identifier' => 'argument.type',
103
-	'count' => 1,
104
-	'path' => __DIR__ . '/tests/Saga/SagaEventHandlerTest.php',
101
+    'message' => '#^Parameter \\#4 \\$serializer of class Gember\\\\EventSourcing\\\\Repository\\\\Rdbms\\\\RdbmsSagaStore constructor expects Gember\\\\DependencyContracts\\\\Util\\\\Serialization\\\\Serializer\\\\Serializer, mixed given\\.$#',
102
+    'identifier' => 'argument.type',
103
+    'count' => 1,
104
+    'path' => __DIR__ . '/tests/Saga/SagaEventHandlerTest.php',
105 105
 ];
106 106
 $ignoreErrors[] = [
107
-	'message' => '#^Class Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\InvalidSaga\\\\TestInvalidSagaWithPrivateSagaId has an uninitialized readonly property \\$id\\. Assign it in the constructor\\.$#',
108
-	'identifier' => 'property.uninitializedReadonly',
109
-	'count' => 1,
110
-	'path' => __DIR__ . '/tests/TestDoubles/InvalidSaga/TestInvalidSagaWithPrivateSagaId.php',
107
+    'message' => '#^Class Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\InvalidSaga\\\\TestInvalidSagaWithPrivateSagaId has an uninitialized readonly property \\$id\\. Assign it in the constructor\\.$#',
108
+    'identifier' => 'property.uninitializedReadonly',
109
+    'count' => 1,
110
+    'path' => __DIR__ . '/tests/TestDoubles/InvalidSaga/TestInvalidSagaWithPrivateSagaId.php',
111 111
 ];
112 112
 $ignoreErrors[] = [
113
-	'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\InvalidSaga\\\\TestInvalidSagaWithPrivateSagaId\\:\\:\\$id is unused\\.$#',
114
-	'identifier' => 'property.unused',
115
-	'count' => 1,
116
-	'path' => __DIR__ . '/tests/TestDoubles/InvalidSaga/TestInvalidSagaWithPrivateSagaId.php',
113
+    'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\InvalidSaga\\\\TestInvalidSagaWithPrivateSagaId\\:\\:\\$id is unused\\.$#',
114
+    'identifier' => 'property.unused',
115
+    'count' => 1,
116
+    'path' => __DIR__ . '/tests/TestDoubles/InvalidSaga/TestInvalidSagaWithPrivateSagaId.php',
117 117
 ];
118 118
 $ignoreErrors[] = [
119
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Repository\\\\TestUseCaseRepository\\:\\:get\\(\\) should return T of Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase but returns Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase\\.$#',
120
-	'identifier' => 'return.type',
121
-	'count' => 1,
122
-	'path' => __DIR__ . '/tests/TestDoubles/Repository/TestUseCaseRepository.php',
119
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Repository\\\\TestUseCaseRepository\\:\\:get\\(\\) should return T of Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase but returns Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase\\.$#',
120
+    'identifier' => 'return.type',
121
+    'count' => 1,
122
+    'path' => __DIR__ . '/tests/TestDoubles/Repository/TestUseCaseRepository.php',
123 123
 ];
124 124
 $ignoreErrors[] = [
125
-	'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSaga\\:\\:\\$someId \\(string\\) does not accept string\\|null\\.$#',
126
-	'identifier' => 'assign.propertyType',
127
-	'count' => 1,
128
-	'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSaga.php',
125
+    'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSaga\\:\\:\\$someId \\(string\\) does not accept string\\|null\\.$#',
126
+    'identifier' => 'assign.propertyType',
127
+    'count' => 1,
128
+    'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSaga.php',
129 129
 ];
130 130
 $ignoreErrors[] = [
131
-	'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSagaWithNamedInterface\\:\\:\\$someId is unused\\.$#',
132
-	'identifier' => 'property.unused',
133
-	'count' => 1,
134
-	'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSagaWithNamedInterface.php',
131
+    'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSagaWithNamedInterface\\:\\:\\$someId is unused\\.$#',
132
+    'identifier' => 'property.unused',
133
+    'count' => 1,
134
+    'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSagaWithNamedInterface.php',
135 135
 ];
136 136
 $ignoreErrors[] = [
137
-	'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSagaWithoutName\\:\\:\\$someId is unused\\.$#',
138
-	'identifier' => 'property.unused',
139
-	'count' => 1,
140
-	'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSagaWithoutName.php',
137
+    'message' => '#^Property Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Saga\\\\TestSagaWithoutName\\:\\:\\$someId is unused\\.$#',
138
+    'identifier' => 'property.unused',
139
+    'count' => 1,
140
+    'path' => __DIR__ . '/tests/TestDoubles/Saga/TestSagaWithoutName.php',
141 141
 ];
142 142
 $ignoreErrors[] = [
143
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestFullUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
144
-	'identifier' => 'return.type',
145
-	'count' => 1,
146
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestFullUseCase.php',
143
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestFullUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
144
+    'identifier' => 'return.type',
145
+    'count' => 1,
146
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestFullUseCase.php',
147 147
 ];
148 148
 $ignoreErrors[] = [
149
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
150
-	'identifier' => 'return.type',
151
-	'count' => 1,
152
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCase.php',
149
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
150
+    'identifier' => 'return.type',
151
+    'count' => 1,
152
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCase.php',
153 153
 ];
154 154
 $ignoreErrors[] = [
155
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
156
-	'identifier' => 'return.type',
157
-	'count' => 1,
158
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
155
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
156
+    'identifier' => 'return.type',
157
+    'count' => 1,
158
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
159 159
 ];
160 160
 $ignoreErrors[] = [
161
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:invalidWithParameterType\\(\\) has parameter \\$command with no type specified\\.$#',
162
-	'identifier' => 'missingType.parameter',
163
-	'count' => 1,
164
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
161
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:invalidWithParameterType\\(\\) has parameter \\$command with no type specified\\.$#',
162
+    'identifier' => 'missingType.parameter',
163
+    'count' => 1,
164
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
165 165
 ];
166 166
 $ignoreErrors[] = [
167
-	'message' => '#^Parameter \\#1 \\$key of method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Util\\\\Cache\\\\TestCache\\:\\:set\\(\\) expects string, mixed given\\.$#',
168
-	'identifier' => 'argument.type',
169
-	'count' => 1,
170
-	'path' => __DIR__ . '/tests/TestDoubles/Util/Cache/TestCache.php',
167
+    'message' => '#^Parameter \\#1 \\$key of method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Util\\\\Cache\\\\TestCache\\:\\:set\\(\\) expects string, mixed given\\.$#',
168
+    'identifier' => 'argument.type',
169
+    'count' => 1,
170
+    'path' => __DIR__ . '/tests/TestDoubles/Util/Cache/TestCache.php',
171 171
 ];
172 172
 
173 173
 return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
Please login to merge, or discard this patch.