diff --git a/src/Serialization/Serializer.php b/src/Serialization/Serializer.php index fa97aad..a5cab47 100644 --- a/src/Serialization/Serializer.php +++ b/src/Serialization/Serializer.php @@ -93,6 +93,7 @@ public function __construct() // Can be disabled in certain environments (customized PHP build?) $this->ctypeEnabled = function_exists('\ctype_upper'); + // @codeCoverageIgnoreStart if (self::$addGlobalIgnoredAnnotations) { // Ignore Phan/Psalm issue-suppressing annotations AnnotationReader::addGlobalIgnoredName('phan'); @@ -101,6 +102,7 @@ public function __construct() // But do that just once self::$addGlobalIgnoredAnnotations = false; } + // @codeCoverageIgnoreEnd if (self::$configureAnnotationRegistry) { self::configureAnnotationRegistry();