Unverified Commit 47b5000e authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3148 from morozov/ignore-private-constructors

Ignore code coverage of private constructors of static classes
parents 93664d0c f399c022
...@@ -25,6 +25,8 @@ final class ColumnCase ...@@ -25,6 +25,8 @@ final class ColumnCase
/** /**
* This class cannot be instantiated. * This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -77,6 +77,8 @@ final class DriverManager ...@@ -77,6 +77,8 @@ final class DriverManager
/** /**
* Private constructor. This class cannot be instantiated. * Private constructor. This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -11,6 +11,8 @@ final class Events ...@@ -11,6 +11,8 @@ final class Events
{ {
/** /**
* Private constructor. This class cannot be instantiated. * Private constructor. This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -64,6 +64,8 @@ final class FetchMode ...@@ -64,6 +64,8 @@ final class FetchMode
/** /**
* This class cannot be instantiated. * This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -14,6 +14,8 @@ class LockMode ...@@ -14,6 +14,8 @@ class LockMode
/** /**
* Private constructor. This class cannot be instantiated. * Private constructor. This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
final private function __construct() final private function __construct()
{ {
......
...@@ -51,6 +51,8 @@ final class ParameterType ...@@ -51,6 +51,8 @@ final class ParameterType
/** /**
* This class cannot be instantiated. * This class cannot be instantiated.
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -22,6 +22,9 @@ final class DateIntervalUnit ...@@ -22,6 +22,9 @@ final class DateIntervalUnit
public const YEAR = 'YEAR'; public const YEAR = 'YEAR';
/**
* @codeCoverageIgnore
*/
private function __construct() private function __construct()
{ {
} }
......
...@@ -14,6 +14,9 @@ final class TrimMode ...@@ -14,6 +14,9 @@ final class TrimMode
public const BOTH = 3; public const BOTH = 3;
/**
* @codeCoverageIgnore
*/
private function __construct() private function __construct()
{ {
} }
......
...@@ -40,6 +40,8 @@ final class Dumper ...@@ -40,6 +40,8 @@ final class Dumper
{ {
/** /**
* Private constructor (prevents instantiation). * Private constructor (prevents instantiation).
*
* @codeCoverageIgnore
*/ */
private function __construct() private function __construct()
{ {
......
...@@ -26,6 +26,9 @@ final class TransactionIsolationLevel ...@@ -26,6 +26,9 @@ final class TransactionIsolationLevel
*/ */
public const SERIALIZABLE = 4; public const SERIALIZABLE = 4;
/**
* @codeCoverageIgnore
*/
private function __construct() private function __construct()
{ {
} }
......
...@@ -37,6 +37,9 @@ final class Types ...@@ -37,6 +37,9 @@ final class Types
/** @deprecated json_array type is deprecated, use {@see self::JSON} instead. */ /** @deprecated json_array type is deprecated, use {@see self::JSON} instead. */
public const JSON_ARRAY = 'json_array'; public const JSON_ARRAY = 'json_array';
/**
* @codeCoverageIgnore
*/
private function __construct() private function __construct()
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment