@@ -65,73 +65,83 @@ public static function linesToBeCoveredProvider(): array
65
65
66
66
[
67
67
[
68
- TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (12 , 27 ), range (29 , 46 )),
68
+ TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (12 , 29 )),
69
+ TEST_FILES_PATH . 'CoveredParentClass.php ' => array_merge (range (12 , 27 )),
69
70
],
70
71
CoverageClassTest::class,
71
72
'testSomething ' ,
72
73
],
73
74
74
75
[
75
76
[
76
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
77
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
77
78
],
78
79
CoverageMethodTest::class,
79
80
'testSomething ' ,
80
81
],
81
82
82
83
[
83
84
[
84
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
85
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
85
86
],
86
87
CoverageMethodAnnotationTest::class,
87
88
'testSomething ' ,
88
89
],
89
90
90
91
[
91
92
[
92
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
93
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
93
94
],
94
95
CoverageMethodOneLineAnnotationTest::class,
95
96
'testSomething ' ,
96
97
],
97
98
98
99
[
99
100
[
100
- TEST_FILES_PATH . 'CoveredFunction .php ' => range (10 , 12 ),
101
+ TEST_FILES_PATH . 'CoveredClass .php ' => range (12 , 29 ),
101
102
],
102
- CoverageFunctionTest ::class,
103
+ NamespaceCoverageClassTest ::class,
103
104
'testSomething ' ,
104
105
],
105
106
106
107
[
107
108
[
108
- TEST_FILES_PATH . 'CoveredClass.php ' => range (29 , 46 ),
109
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
109
110
],
110
- NamespaceCoverageClassTest ::class,
111
+ NamespaceCoverageMethodTest ::class,
111
112
'testSomething ' ,
112
113
],
113
114
114
115
[
115
116
[
116
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
117
+ TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (14 , 18 ), range (20 , 24 ), range (26 , 28 )),
118
+ TEST_FILES_PATH . 'CoveredParentClass.php ' => array_merge (range (14 , 17 ), range (19 , 22 ), range (24 , 26 )),
117
119
],
118
- NamespaceCoverageMethodTest ::class,
120
+ NamespaceCoverageCoversClassTest ::class,
119
121
'testSomething ' ,
120
122
],
121
123
122
124
[
123
125
[
124
- TEST_FILES_PATH . 'CoveredClass.php ' => array_merge ( range (43 , 45 ), range ( 37 , 41 ), range ( 31 , 35 ), range ( 24 , 26 ), range ( 19 , 22 ), range ( 14 , 17 ) ),
126
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
125
127
],
126
- NamespaceCoverageCoversClassTest ::class,
128
+ NamespaceCoverageCoversClassPublicTest ::class,
127
129
'testSomething ' ,
128
130
],
129
131
130
132
[
131
133
[
132
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
134
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
133
135
],
134
- NamespaceCoverageCoversClassPublicTest::class,
136
+ CoverageMethodParenthesesTest::class,
137
+ 'testSomething ' ,
138
+ ],
139
+
140
+ [
141
+ [
142
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
143
+ ],
144
+ CoverageMethodParenthesesWhitespaceTest::class,
135
145
'testSomething ' ,
136
146
],
137
147
@@ -149,7 +159,7 @@ public static function linesToBeCoveredProvider(): array
149
159
150
160
[
151
161
[
152
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
162
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
153
163
],
154
164
CoverageCoversOverridesCoversNothingTest::class,
155
165
'testSomething ' ,
@@ -165,31 +175,23 @@ public static function linesToBeCoveredProvider(): array
165
175
[
166
176
TEST_FILES_PATH . 'CoveredFunction.php ' => range (10 , 12 ),
167
177
],
168
- CoverageFunctionParenthesesTest ::class,
178
+ CoverageFunctionTest ::class,
169
179
'testSomething ' ,
170
180
],
171
181
172
182
[
173
183
[
174
184
TEST_FILES_PATH . 'CoveredFunction.php ' => range (10 , 12 ),
175
185
],
176
- CoverageFunctionParenthesesWhitespaceTest::class,
177
- 'testSomething ' ,
178
- ],
179
-
180
- [
181
- [
182
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
183
- ],
184
- CoverageMethodParenthesesTest::class,
186
+ CoverageFunctionParenthesesTest::class,
185
187
'testSomething ' ,
186
188
],
187
189
188
190
[
189
191
[
190
- TEST_FILES_PATH . 'CoveredClass .php ' => range (31 , 35 ),
192
+ TEST_FILES_PATH . 'CoveredFunction .php ' => range (10 , 12 ),
191
193
],
192
- CoverageMethodParenthesesWhitespaceTest ::class,
194
+ CoverageFunctionParenthesesWhitespaceTest ::class,
193
195
'testSomething ' ,
194
196
],
195
197
@@ -238,65 +240,67 @@ public static function linesToBeUsedProvider(): array
238
240
239
241
[
240
242
[
241
- TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (12 , 27 ), range (29 , 46 )),
243
+ TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (12 , 29 )),
244
+ TEST_FILES_PATH . 'CoveredParentClass.php ' => array_merge (range (12 , 27 )),
242
245
],
243
246
CoverageClassTest::class,
244
247
'testSomething ' ,
245
248
],
246
249
247
250
[
248
251
[
249
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
252
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
250
253
],
251
254
CoverageMethodTest::class,
252
255
'testSomething ' ,
253
256
],
254
257
255
258
[
256
259
[
257
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
260
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
258
261
],
259
262
CoverageMethodAnnotationTest::class,
260
263
'testSomething ' ,
261
264
],
262
265
263
266
[
264
267
[
265
- TEST_FILES_PATH . 'CoveredFunction .php ' => range (10 , 12 ),
268
+ TEST_FILES_PATH . 'CoveredClass .php ' => range (12 , 29 ),
266
269
],
267
- CoverageFunctionTest ::class,
270
+ NamespaceCoverageClassTest ::class,
268
271
'testSomething ' ,
269
272
],
270
273
271
274
[
272
275
[
273
- TEST_FILES_PATH . 'CoveredClass.php ' => range (29 , 46 ),
276
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
274
277
],
275
- NamespaceCoverageClassTest ::class,
278
+ NamespaceCoverageMethodTest ::class,
276
279
'testSomething ' ,
277
280
],
278
281
279
282
[
280
283
[
281
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
284
+ TEST_FILES_PATH . 'CoveredClass.php ' => array_merge (range (14 , 18 ), range (20 , 24 ), range (26 , 28 )),
285
+ TEST_FILES_PATH . 'CoveredParentClass.php ' => array_merge (range (14 , 17 ), range (19 , 22 ), range (24 , 26 )),
282
286
],
283
- NamespaceCoverageMethodTest ::class,
287
+ NamespaceCoverageCoversClassTest ::class,
284
288
'testSomething ' ,
285
289
],
286
290
287
291
[
288
292
[
289
- TEST_FILES_PATH . 'CoveredClass.php ' => array_merge ( range (43 , 45 ), range ( 37 , 41 ), range ( 31 , 35 ), range ( 24 , 26 ), range ( 19 , 22 ), range ( 14 , 17 ) ),
293
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
290
294
],
291
- NamespaceCoverageCoversClassTest ::class,
295
+ NamespaceCoverageCoversClassPublicTest ::class,
292
296
'testSomething ' ,
293
297
],
294
298
295
299
[
296
300
[
297
- TEST_FILES_PATH . 'CoveredClass .php ' => range (31 , 35 ),
301
+ TEST_FILES_PATH . 'CoveredFunction .php ' => range (10 , 12 ),
298
302
],
299
- NamespaceCoverageCoversClassPublicTest ::class,
303
+ CoverageFunctionTest ::class,
300
304
'testSomething ' ,
301
305
],
302
306
@@ -318,15 +322,15 @@ public static function linesToBeUsedProvider(): array
318
322
319
323
[
320
324
[
321
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
325
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
322
326
],
323
327
CoverageMethodParenthesesTest::class,
324
328
'testSomething ' ,
325
329
],
326
330
327
331
[
328
332
[
329
- TEST_FILES_PATH . 'CoveredClass.php ' => range (31 , 35 ),
333
+ TEST_FILES_PATH . 'CoveredClass.php ' => range (14 , 18 ),
330
334
],
331
335
CoverageMethodParenthesesWhitespaceTest::class,
332
336
'testSomething ' ,
0 commit comments