Commit e938551
filter out non-files
Non-files, such as eval'd code, can cause code coverage to fail. Test whether a filename is likely to be a file (with Filter::isFile)
when checking whether a file should be filtered from code coverage1 parent 2a16fdc commit e938551
File tree
2 files changed
+16
-0
lines changed- src/CodeCoverage
- tests/PHP/CodeCoverage
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
303 | 315 | | |
0 commit comments