Passed
Pull Request — main (#11)
by Jeroen
02:12
created
phpstan-baseline.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -2,40 +2,40 @@
 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' => 2,
8
-	'path' => __DIR__ . '/src/Util/Attribute/Resolver/Cached/CachedAttributeResolverDecorator.php',
5
+    'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#',
6
+    'identifier' => 'argument.type',
7
+    'count' => 2,
8
+    'path' => __DIR__ . '/src/Util/Attribute/Resolver/Cached/CachedAttributeResolverDecorator.php',
9 9
 ];
10 10
 $ignoreErrors[] = [
11
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Repository\\\\TestUseCaseRepository\\:\\:get\\(\\) should return T of Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase but returns Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase\\.$#',
12
-	'identifier' => 'return.type',
13
-	'count' => 1,
14
-	'path' => __DIR__ . '/tests/TestDoubles/Repository/TestUseCaseRepository.php',
11
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Repository\\\\TestUseCaseRepository\\:\\:get\\(\\) should return T of Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase but returns Gember\\\\EventSourcing\\\\UseCase\\\\EventSourcedUseCase\\.$#',
12
+    'identifier' => 'return.type',
13
+    'count' => 1,
14
+    'path' => __DIR__ . '/tests/TestDoubles/Repository/TestUseCaseRepository.php',
15 15
 ];
16 16
 $ignoreErrors[] = [
17
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
18
-	'identifier' => 'return.type',
19
-	'count' => 1,
20
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCase.php',
17
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCase\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
18
+    'identifier' => 'return.type',
19
+    'count' => 1,
20
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCase.php',
21 21
 ];
22 22
 $ignoreErrors[] = [
23
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
24
-	'identifier' => 'return.type',
25
-	'count' => 1,
26
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
23
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:getDomainTags\\(\\) should return list\\<string\\|Stringable\\> but returns list\\.$#',
24
+    'identifier' => 'return.type',
25
+    'count' => 1,
26
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
27 27
 ];
28 28
 $ignoreErrors[] = [
29
-	'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:invalidWithParameterType\\(\\) has parameter \\$command with no type specified\\.$#',
30
-	'identifier' => 'missingType.parameter',
31
-	'count' => 1,
32
-	'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
29
+    'message' => '#^Method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\UseCase\\\\TestUseCaseWithCommandHandler\\:\\:invalidWithParameterType\\(\\) has parameter \\$command with no type specified\\.$#',
30
+    'identifier' => 'missingType.parameter',
31
+    'count' => 1,
32
+    'path' => __DIR__ . '/tests/TestDoubles/UseCase/TestUseCaseWithCommandHandler.php',
33 33
 ];
34 34
 $ignoreErrors[] = [
35
-	'message' => '#^Parameter \\#1 \\$key of method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Util\\\\Cache\\\\TestCache\\:\\:set\\(\\) expects string, mixed given\\.$#',
36
-	'identifier' => 'argument.type',
37
-	'count' => 1,
38
-	'path' => __DIR__ . '/tests/TestDoubles/Util/Cache/TestCache.php',
35
+    'message' => '#^Parameter \\#1 \\$key of method Gember\\\\EventSourcing\\\\Test\\\\TestDoubles\\\\Util\\\\Cache\\\\TestCache\\:\\:set\\(\\) expects string, mixed given\\.$#',
36
+    'identifier' => 'argument.type',
37
+    'count' => 1,
38
+    'path' => __DIR__ . '/tests/TestDoubles/Util/Cache/TestCache.php',
39 39
 ];
40 40
 
41 41
 return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
Please login to merge, or discard this patch.