|
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
5 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\ChangeCourseCapacity\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
| 5 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\ChangeCourseCapacity\\\\ChangeCourseCapacity\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
6 | 6 | 'identifier' => 'method.unused', |
7 | 7 | 'count' => 1, |
8 | | - 'path' => __DIR__ . '/src/Domain/Course/ChangeCourseCapacity.php', |
| 8 | + 'path' => __DIR__ . '/src/Domain/ChangeCourseCapacity/ChangeCourseCapacity.php', |
9 | 9 | ]; |
10 | 10 | $ignoreErrors[] = [ |
11 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\ChangeCourseCapacity\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 11 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\ChangeCourseCapacity\\\\ChangeCourseCapacity\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
12 | 12 | 'identifier' => 'method.unused', |
13 | 13 | 'count' => 1, |
14 | | - 'path' => __DIR__ . '/src/Domain/Course/ChangeCourseCapacity.php', |
| 14 | + 'path' => __DIR__ . '/src/Domain/ChangeCourseCapacity/ChangeCourseCapacity.php', |
15 | 15 | ]; |
16 | 16 | $ignoreErrors[] = [ |
17 | 17 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\Course\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
|
20 | 20 | 'path' => __DIR__ . '/src/Domain/Course/Course.php', |
21 | 21 | ]; |
22 | 22 | $ignoreErrors[] = [ |
23 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\Course\\:\\:onCourseNameChangedEvent\\(\\) is unused\\.$#', |
| 23 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\Course\\:\\:onCourseRenamedEvent\\(\\) is unused\\.$#', |
24 | 24 | 'identifier' => 'method.unused', |
25 | 25 | 'count' => 1, |
26 | 26 | 'path' => __DIR__ . '/src/Domain/Course/Course.php', |
|
38 | 38 | 'path' => __DIR__ . '/src/Domain/Student/Student.php', |
39 | 39 | ]; |
40 | 40 | $ignoreErrors[] = [ |
41 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
| 41 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\SubscribeStudentToCourse\\\\SubscribeStudentToCourse\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
42 | 42 | 'identifier' => 'method.unused', |
43 | 43 | 'count' => 1, |
44 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
| 44 | + 'path' => __DIR__ . '/src/Domain/SubscribeStudentToCourse/SubscribeStudentToCourse.php', |
45 | 45 | ]; |
46 | 46 | $ignoreErrors[] = [ |
47 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 47 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\SubscribeStudentToCourse\\\\SubscribeStudentToCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
48 | 48 | 'identifier' => 'method.unused', |
49 | 49 | 'count' => 1, |
50 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
| 50 | + 'path' => __DIR__ . '/src/Domain/SubscribeStudentToCourse/SubscribeStudentToCourse.php', |
51 | 51 | ]; |
52 | 52 | $ignoreErrors[] = [ |
53 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
| 53 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\SubscribeStudentToCourse\\\\SubscribeStudentToCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
54 | 54 | 'identifier' => 'method.unused', |
55 | 55 | 'count' => 1, |
56 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
| 56 | + 'path' => __DIR__ . '/src/Domain/SubscribeStudentToCourse/SubscribeStudentToCourse.php', |
57 | 57 | ]; |
58 | 58 | $ignoreErrors[] = [ |
59 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
| 59 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\SubscribeStudentToCourse\\\\SubscribeStudentToCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
60 | 60 | 'identifier' => 'method.unused', |
61 | 61 | 'count' => 1, |
62 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
| 62 | + 'path' => __DIR__ . '/src/Domain/SubscribeStudentToCourse/SubscribeStudentToCourse.php', |
63 | 63 | ]; |
64 | 64 | $ignoreErrors[] = [ |
65 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
| 65 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\SubscribeStudentToCourse\\\\SubscribeStudentToCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
66 | 66 | 'identifier' => 'method.unused', |
67 | 67 | 'count' => 1, |
68 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
| 68 | + 'path' => __DIR__ . '/src/Domain/SubscribeStudentToCourse/SubscribeStudentToCourse.php', |
69 | 69 | ]; |
70 | 70 | $ignoreErrors[] = [ |
71 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 71 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\UnsubscribeStudentFromCourse\\\\UnsubscribeStudentFromCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
72 | 72 | 'identifier' => 'method.unused', |
73 | 73 | 'count' => 1, |
74 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
| 74 | + 'path' => __DIR__ . '/src/Domain/UnsubscribeStudentFromCourse/UnsubscribeStudentFromCourse.php', |
75 | 75 | ]; |
76 | 76 | $ignoreErrors[] = [ |
77 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
| 77 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\UnsubscribeStudentFromCourse\\\\UnsubscribeStudentFromCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
78 | 78 | 'identifier' => 'method.unused', |
79 | 79 | 'count' => 1, |
80 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
| 80 | + 'path' => __DIR__ . '/src/Domain/UnsubscribeStudentFromCourse/UnsubscribeStudentFromCourse.php', |
81 | 81 | ]; |
82 | 82 | $ignoreErrors[] = [ |
83 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
| 83 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\UnsubscribeStudentFromCourse\\\\UnsubscribeStudentFromCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
84 | 84 | 'identifier' => 'method.unused', |
85 | 85 | 'count' => 1, |
86 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
| 86 | + 'path' => __DIR__ . '/src/Domain/UnsubscribeStudentFromCourse/UnsubscribeStudentFromCourse.php', |
87 | 87 | ]; |
88 | 88 | $ignoreErrors[] = [ |
89 | | - 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
| 89 | + 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\UnsubscribeStudentFromCourse\\\\UnsubscribeStudentFromCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
90 | 90 | 'identifier' => 'method.unused', |
91 | 91 | 'count' => 1, |
92 | | - 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
| 92 | + 'path' => __DIR__ . '/src/Domain/UnsubscribeStudentFromCourse/UnsubscribeStudentFromCourse.php', |
93 | 93 | ]; |
94 | 94 | $ignoreErrors[] = [ |
95 | 95 | 'message' => '#^Binary operation "\\." between \'Course capacity…\' and mixed results in an error\\.$#', |
|
104 | 104 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/ChangeCourseCapacityCliCommand.php', |
105 | 105 | ]; |
106 | 106 | $ignoreErrors[] = [ |
107 | | - 'message' => '#^Parameter \\#1 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\Course\\\\ChangeCourseCapacityCommand constructor expects string, mixed given\\.$#', |
| 107 | + 'message' => '#^Parameter \\#1 \\$id of class Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\CourseId constructor expects string, mixed given\\.$#', |
108 | 108 | 'identifier' => 'argument.type', |
109 | 109 | 'count' => 1, |
110 | 110 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/ChangeCourseCapacityCliCommand.php', |
|
164 | 164 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
165 | 165 | ]; |
166 | 166 | $ignoreErrors[] = [ |
167 | | - 'message' => '#^Parameter \\#1 \\$studentId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourseCommand constructor expects string, mixed given\\.$#', |
| 167 | + 'message' => '#^Parameter \\#1 \\$id of class Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\CourseId constructor expects string, mixed given\\.$#', |
168 | 168 | 'identifier' => 'argument.type', |
169 | 169 | 'count' => 1, |
170 | 170 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
171 | 171 | ]; |
172 | 172 | $ignoreErrors[] = [ |
173 | | - 'message' => '#^Parameter \\#2 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourseCommand constructor expects string, mixed given\\.$#', |
| 173 | + 'message' => '#^Parameter \\#1 \\$id of class Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Student\\\\StudentId constructor expects string, mixed given\\.$#', |
174 | 174 | 'identifier' => 'argument.type', |
175 | 175 | 'count' => 1, |
176 | 176 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
|
188 | 188 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
189 | 189 | ]; |
190 | 190 | $ignoreErrors[] = [ |
191 | | - 'message' => '#^Parameter \\#1 \\$studentId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourseCommand constructor expects string, mixed given\\.$#', |
| 191 | + 'message' => '#^Parameter \\#1 \\$id of class Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\CourseId constructor expects string, mixed given\\.$#', |
192 | 192 | 'identifier' => 'argument.type', |
193 | 193 | 'count' => 1, |
194 | 194 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
195 | 195 | ]; |
196 | 196 | $ignoreErrors[] = [ |
197 | | - 'message' => '#^Parameter \\#2 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourseCommand constructor expects string, mixed given\\.$#', |
| 197 | + 'message' => '#^Parameter \\#1 \\$id of class Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Student\\\\StudentId constructor expects string, mixed given\\.$#', |
198 | 198 | 'identifier' => 'argument.type', |
199 | 199 | 'count' => 1, |
200 | 200 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
|
0 commit comments