File tree Expand file tree Collapse file tree 1 file changed +45
-43
lines changed Expand file tree Collapse file tree 1 file changed +45
-43
lines changed Original file line number Diff line number Diff line change @@ -333,52 +333,53 @@ public function testHeavyIndentationIsHandledCorrectly(): void
333
333
334
334
$ this ->assertEquals (
335
335
[
336
- 9 ,
337
336
14 ,
338
- // line 17 is unstable - not in xdebug output if script is cached by opcache
339
- 20 ,
340
- // line 23 is unstable - https://github.com/sebastianbergmann/php-code-coverage/issues/889
341
- 27 ,
342
- 29 ,
343
- 30 ,
337
+ 19 ,
338
+ // line 22 is unstable - not in xdebug output if script is cached by opcache
339
+ 25 ,
340
+ // line 28 is unstable - const coverage depends on autoload order - https://github.com/sebastianbergmann/php-code-coverage/issues/889
341
+ 32 ,
342
+ 34 ,
344
343
35 ,
345
- 36 ,
346
- 39 ,
347
- 42 ,
348
- 51 ,
349
- 57 ,
350
- 59 ,
351
- 65 ,
352
- 71 ,
353
- 82 ,
354
- 90 ,
355
- 91 ,
356
- 92 ,
357
- 94 ,
344
+ 40 ,
345
+ 41 ,
346
+ 44 ,
347
+ 47 ,
348
+ 56 ,
349
+ 62 ,
350
+ 64 ,
351
+ 70 ,
352
+ 76 ,
353
+ 87 ,
354
+ 95 ,
358
355
96 ,
359
- 108 ,
360
- // array destruct element, should be present 109,
361
- 112 ,
362
- 122 ,
363
- 131 ,
364
- 133 ,
365
- 135 ,
366
- 137 ,
367
- 139 ,
368
- 141 ,
369
- 143 ,
370
- 145 ,
371
- 147 ,
372
- 149 ,
373
- 171 ,
356
+ 97 ,
357
+ 99 ,
358
+ 101 ,
359
+ // line 108 is unstable - variable has no coverage if it holds const expr - https://github.com/sebastianbergmann/php-code-coverage/issues/953
360
+ 113 ,
361
+ // array destruct element, should be present 114,
362
+ 117 ,
363
+ 127 ,
364
+ 136 ,
365
+ 138 ,
366
+ 140 ,
367
+ 142 ,
368
+ 144 ,
369
+ 146 ,
370
+ 148 ,
371
+ 150 ,
372
+ 152 ,
373
+ 154 ,
374
374
176 ,
375
- 180 ,
376
- 183 ,
377
- 187 ,
378
- 191 ,
379
- 197 ,
380
- 201 ,
381
- 207 ,
375
+ 181 ,
376
+ 185 ,
377
+ 188 ,
378
+ 192 ,
379
+ 196 ,
380
+ 202 ,
381
+ 206 ,
382
+ 212 ,
382
383
],
383
384
array_keys (RawCodeCoverageData::fromUncoveredFile ($ file , new ParsingFileAnalyser (true , true ))->lineCoverage ()[$ file ])
384
385
);
@@ -499,7 +500,8 @@ public function testReturnStatementWithConstantExprOnlyReturnTheLineOfLast(): vo
499
500
456 ,
500
501
466 ,
501
502
478 ,
502
- 527 ,
503
+ 489 ,
504
+ 503 ,
503
505
],
504
506
array_keys (RawCodeCoverageData::fromUncoveredFile ($ file , new ParsingFileAnalyser (true , true ))->lineCoverage ()[$ file ])
505
507
);
You can’t perform that action at this time.
0 commit comments