|
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
5 | | - // identifier: method.unused |
6 | 5 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\ChangeCourseCapacity\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
| 6 | + 'identifier' => 'method.unused', |
7 | 7 | 'count' => 1, |
8 | 8 | 'path' => __DIR__ . '/src/Domain/Course/ChangeCourseCapacity.php', |
9 | 9 | ]; |
10 | 10 | $ignoreErrors[] = [ |
11 | | - // identifier: method.unused |
12 | 11 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\ChangeCourseCapacity\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 12 | + 'identifier' => 'method.unused', |
13 | 13 | 'count' => 1, |
14 | 14 | 'path' => __DIR__ . '/src/Domain/Course/ChangeCourseCapacity.php', |
15 | 15 | ]; |
16 | 16 | $ignoreErrors[] = [ |
17 | | - // identifier: method.unused |
18 | 17 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\Course\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 18 | + 'identifier' => 'method.unused', |
19 | 19 | 'count' => 1, |
20 | 20 | 'path' => __DIR__ . '/src/Domain/Course/Course.php', |
21 | 21 | ]; |
22 | 22 | $ignoreErrors[] = [ |
23 | | - // identifier: method.unused |
24 | 23 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Course\\\\Course\\:\\:onCourseNameChangedEvent\\(\\) is unused\\.$#', |
| 24 | + 'identifier' => 'method.unused', |
25 | 25 | 'count' => 1, |
26 | 26 | 'path' => __DIR__ . '/src/Domain/Course/Course.php', |
27 | 27 | ]; |
28 | 28 | $ignoreErrors[] = [ |
29 | | - // identifier: method.unused |
30 | 29 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Student\\\\Student\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
| 30 | + 'identifier' => 'method.unused', |
31 | 31 | 'count' => 1, |
32 | 32 | 'path' => __DIR__ . '/src/Domain/Student/Student.php', |
33 | 33 | ]; |
34 | 34 | $ignoreErrors[] = [ |
35 | | - // identifier: property.onlyWritten |
36 | 35 | 'message' => '#^Property Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\Student\\\\Student\\:\\:\\$studentId is never read, only written\\.$#', |
| 36 | + 'identifier' => 'property.onlyWritten', |
37 | 37 | 'count' => 1, |
38 | 38 | 'path' => __DIR__ . '/src/Domain/Student/Student.php', |
39 | 39 | ]; |
40 | 40 | $ignoreErrors[] = [ |
41 | | - // identifier: method.unused |
42 | 41 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onCourseCapacityChangedEvent\\(\\) is unused\\.$#', |
| 42 | + 'identifier' => 'method.unused', |
43 | 43 | 'count' => 1, |
44 | 44 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
45 | 45 | ]; |
46 | 46 | $ignoreErrors[] = [ |
47 | | - // identifier: method.unused |
48 | 47 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 48 | + 'identifier' => 'method.unused', |
49 | 49 | 'count' => 1, |
50 | 50 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
51 | 51 | ]; |
52 | 52 | $ignoreErrors[] = [ |
53 | | - // identifier: method.unused |
54 | 53 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
| 54 | + 'identifier' => 'method.unused', |
55 | 55 | 'count' => 1, |
56 | 56 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
57 | 57 | ]; |
58 | 58 | $ignoreErrors[] = [ |
59 | | - // identifier: method.unused |
60 | 59 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
| 60 | + 'identifier' => 'method.unused', |
61 | 61 | 'count' => 1, |
62 | 62 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
63 | 63 | ]; |
64 | 64 | $ignoreErrors[] = [ |
65 | | - // identifier: method.unused |
66 | 65 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
| 66 | + 'identifier' => 'method.unused', |
67 | 67 | 'count' => 1, |
68 | 68 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/SubscribeStudentToCourse.php', |
69 | 69 | ]; |
70 | 70 | $ignoreErrors[] = [ |
71 | | - // identifier: method.unused |
72 | 71 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onCourseCreatedEvent\\(\\) is unused\\.$#', |
| 72 | + 'identifier' => 'method.unused', |
73 | 73 | 'count' => 1, |
74 | 74 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
75 | 75 | ]; |
76 | 76 | $ignoreErrors[] = [ |
77 | | - // identifier: method.unused |
78 | 77 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentCreatedEvent\\(\\) is unused\\.$#', |
| 78 | + 'identifier' => 'method.unused', |
79 | 79 | 'count' => 1, |
80 | 80 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
81 | 81 | ]; |
82 | 82 | $ignoreErrors[] = [ |
83 | | - // identifier: method.unused |
84 | 83 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentSubscribedToCourseEvent\\(\\) is unused\\.$#', |
| 84 | + 'identifier' => 'method.unused', |
85 | 85 | 'count' => 1, |
86 | 86 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
87 | 87 | ]; |
88 | 88 | $ignoreErrors[] = [ |
89 | | - // identifier: method.unused |
90 | 89 | 'message' => '#^Method Gember\\\\ExampleEventSourcingDcb\\\\Domain\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourse\\:\\:onStudentUnsubscribedFromCourseEvent\\(\\) is unused\\.$#', |
| 90 | + 'identifier' => 'method.unused', |
91 | 91 | 'count' => 1, |
92 | 92 | 'path' => __DIR__ . '/src/Domain/StudentToCourseSubscription/UnsubscribeStudentFromCourse.php', |
93 | 93 | ]; |
94 | 94 | $ignoreErrors[] = [ |
95 | | - // identifier: cast.int |
| 95 | + 'message' => '#^Binary operation "\\." between \'Course capacity…\' and mixed results in an error\\.$#', |
| 96 | + 'identifier' => 'binaryOp.invalid', |
| 97 | + 'count' => 1, |
| 98 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/ChangeCourseCapacityCliCommand.php', |
| 99 | +]; |
| 100 | +$ignoreErrors[] = [ |
96 | 101 | 'message' => '#^Cannot cast mixed to int\\.$#', |
| 102 | + 'identifier' => 'cast.int', |
97 | 103 | 'count' => 1, |
98 | 104 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/ChangeCourseCapacityCliCommand.php', |
99 | 105 | ]; |
100 | 106 | $ignoreErrors[] = [ |
101 | | - // identifier: argument.type |
102 | 107 | 'message' => '#^Parameter \\#1 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\Course\\\\ChangeCourseCapacityCommand constructor expects string, mixed given\\.$#', |
| 108 | + 'identifier' => 'argument.type', |
103 | 109 | 'count' => 1, |
104 | 110 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/ChangeCourseCapacityCliCommand.php', |
105 | 111 | ]; |
106 | 112 | $ignoreErrors[] = [ |
107 | | - // identifier: cast.int |
108 | 113 | 'message' => '#^Cannot cast mixed to int\\.$#', |
| 114 | + 'identifier' => 'cast.int', |
109 | 115 | 'count' => 1, |
110 | 116 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/CreateCourseCliCommand.php', |
111 | 117 | ]; |
112 | 118 | $ignoreErrors[] = [ |
113 | | - // identifier: argument.type |
114 | 119 | 'message' => '#^Parameter \\#2 \\$name of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\Course\\\\CreateCourseCommand constructor expects string, mixed given\\.$#', |
| 120 | + 'identifier' => 'argument.type', |
115 | 121 | 'count' => 1, |
116 | 122 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/CreateCourseCliCommand.php', |
117 | 123 | ]; |
118 | 124 | $ignoreErrors[] = [ |
119 | | - // identifier: argument.type |
| 125 | + 'message' => '#^Binary operation "\\." between \'Course renamed to \' and mixed results in an error\\.$#', |
| 126 | + 'identifier' => 'binaryOp.invalid', |
| 127 | + 'count' => 1, |
| 128 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/RenameCourseCliCommand.php', |
| 129 | +]; |
| 130 | +$ignoreErrors[] = [ |
120 | 131 | 'message' => '#^Parameter \\#1 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\Course\\\\RenameCourseCommand constructor expects string, mixed given\\.$#', |
| 132 | + 'identifier' => 'argument.type', |
121 | 133 | 'count' => 1, |
122 | 134 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/RenameCourseCliCommand.php', |
123 | 135 | ]; |
124 | 136 | $ignoreErrors[] = [ |
125 | | - // identifier: argument.type |
126 | 137 | 'message' => '#^Parameter \\#2 \\$name of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\Course\\\\RenameCourseCommand constructor expects string, mixed given\\.$#', |
| 138 | + 'identifier' => 'argument.type', |
127 | 139 | 'count' => 1, |
128 | 140 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/Course/RenameCourseCliCommand.php', |
129 | 141 | ]; |
130 | 142 | $ignoreErrors[] = [ |
131 | | - // identifier: cast.int |
132 | 143 | 'message' => '#^Cannot cast mixed to int\\.$#', |
| 144 | + 'identifier' => 'cast.int', |
133 | 145 | 'count' => 1, |
134 | 146 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/DemoRunCommand.php', |
135 | 147 | ]; |
136 | 148 | $ignoreErrors[] = [ |
137 | | - // identifier: argument.type |
138 | 149 | 'message' => '#^Parameter \\#1 \\$min \\(0\\) of function random_int expects lower number than parameter \\#2 \\$max \\(int\\<\\-1, max\\>\\)\\.$#', |
| 150 | + 'identifier' => 'argument.type', |
139 | 151 | 'count' => 1, |
140 | 152 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/DemoRunCommand.php', |
141 | 153 | ]; |
142 | 154 | $ignoreErrors[] = [ |
143 | | - // identifier: argument.type |
| 155 | + 'message' => '#^Binary operation "\\." between \'Student \\# \' and mixed results in an error\\.$#', |
| 156 | + 'identifier' => 'binaryOp.invalid', |
| 157 | + 'count' => 1, |
| 158 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
| 159 | +]; |
| 160 | +$ignoreErrors[] = [ |
| 161 | + 'message' => '#^Binary operation "\\." between non\\-falsy\\-string and mixed results in an error\\.$#', |
| 162 | + 'identifier' => 'binaryOp.invalid', |
| 163 | + 'count' => 1, |
| 164 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
| 165 | +]; |
| 166 | +$ignoreErrors[] = [ |
144 | 167 | 'message' => '#^Parameter \\#1 \\$studentId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourseCommand constructor expects string, mixed given\\.$#', |
| 168 | + 'identifier' => 'argument.type', |
145 | 169 | 'count' => 1, |
146 | 170 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
147 | 171 | ]; |
148 | 172 | $ignoreErrors[] = [ |
149 | | - // identifier: argument.type |
150 | 173 | 'message' => '#^Parameter \\#2 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\SubscribeStudentToCourseCommand constructor expects string, mixed given\\.$#', |
| 174 | + 'identifier' => 'argument.type', |
151 | 175 | 'count' => 1, |
152 | 176 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/SubscribeStudentToCourseCliCommand.php', |
153 | 177 | ]; |
154 | 178 | $ignoreErrors[] = [ |
155 | | - // identifier: argument.type |
| 179 | + 'message' => '#^Binary operation "\\." between \'Student \\# \' and mixed results in an error\\.$#', |
| 180 | + 'identifier' => 'binaryOp.invalid', |
| 181 | + 'count' => 1, |
| 182 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
| 183 | +]; |
| 184 | +$ignoreErrors[] = [ |
| 185 | + 'message' => '#^Binary operation "\\." between non\\-falsy\\-string and mixed results in an error\\.$#', |
| 186 | + 'identifier' => 'binaryOp.invalid', |
| 187 | + 'count' => 1, |
| 188 | + 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
| 189 | +]; |
| 190 | +$ignoreErrors[] = [ |
156 | 191 | 'message' => '#^Parameter \\#1 \\$studentId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourseCommand constructor expects string, mixed given\\.$#', |
| 192 | + 'identifier' => 'argument.type', |
157 | 193 | 'count' => 1, |
158 | 194 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
159 | 195 | ]; |
160 | 196 | $ignoreErrors[] = [ |
161 | | - // identifier: argument.type |
162 | 197 | 'message' => '#^Parameter \\#2 \\$courseId of class Gember\\\\ExampleEventSourcingDcb\\\\Application\\\\Command\\\\StudentToCourseSubscription\\\\UnsubscribeStudentFromCourseCommand constructor expects string, mixed given\\.$#', |
| 198 | + 'identifier' => 'argument.type', |
163 | 199 | 'count' => 1, |
164 | 200 | 'path' => __DIR__ . '/src/Infrastructure/Api/Cli/Command/StudentToCourseSubscription/UnsubscribeStudentFromCourseCliCommand.php', |
165 | 201 | ]; |
|
0 commit comments