You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coverage of empty constructors has changed between versions 9.2.10 and 9.2.11, and now they are no longer coverable code. In some sense this is not unreasonable, because they are empty after all, but I'm not sure if this was an intentional change. I kind of prefer that they be coverable, since it is still code that can be executed.
Here is an example class:
<?phpdeclare(strict_types=1);
namespaceSmr;
class Bla {
publicfunction__construct(
publicstring$foo,
) {}
}
Coverage of empty constructors has changed between versions 9.2.10 and 9.2.11, and now they are no longer coverable code. In some sense this is not unreasonable, because they are empty after all, but I'm not sure if this was an intentional change. I kind of prefer that they be coverable, since it is still code that can be executed.
Here is an example class:
And the test that covers it:
Here is the coverage report in 9.2.10:

Here is the coverage report in 9.2.11 (note that we get the same report in 9.2.13):

Thanks again for your time!
The text was updated successfully, but these errors were encountered: