Commit 240b8d3
Ignore Hack enum declarations
Without this, phpunit incorrectly considers this to be untested executable code:
https://github.com/hhvm/hack-codegen/blob/master/src/CodegenWithVisibility.php#L13
Tested with:
```
hhvm -d hhvm.jit=0 -d hhvm.enable_call_builtin=0 -d xdebug.enable=1 vendor/bin/phpunit --coverage-html ./coverage
```
against https://github.com/hhvm/hack-codegen1 parent e7d7a4a commit 240b8d3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
869 | 873 | | |
870 | 874 | | |
871 | 875 | | |
| |||
0 commit comments