Reaching 100% Code Coverage with PHPUnit
First off: 100% code coverage is a great metric to strive for. It’s just not always achievable with a sane amount of effort and it’s not always important to do so 🙂 The issue comes from xDebug telling PHPUnit that this line is executable but not covered. For simple cases xDebug can tell that the … Read more