Skip to content

Commit

Permalink
Ignore code coverage for private Status constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Jun 10, 2019
1 parent 9acae9c commit d03c0f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ final class Status
const NOT_EXTENDED = 510;
const NETWORK_AUTHENTICATION_REQUIRED = 511;

// @codeCoverageIgnoreStart
private function __construct()
{
// forbid instances
}
// @codeCoverageIgnoreEnd

public static function getReason(int $code): string
{
Expand Down

0 comments on commit d03c0f6

Please sign in to comment.