• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FriendsOfOpenTelemetry / opentelemetry-bundle / 7753009285

02 Feb 2024 07:58AM UTC coverage: 35.071% (-29.5%) from 64.527%
7753009285

Pull #38

github

gaelreyrol
refactor: better services injection with factories
Pull Request #38: Refactor services injection

99 of 459 new or added lines in 44 files covered. (21.57%)

314 existing lines in 33 files now uncovered.

740 of 2110 relevant lines covered (35.07%)

2.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/OpenTelemetry/Exporter/OtlpExporterCompressionEnum.php
1
<?php
2

3
namespace FriendsOfOpenTelemetry\OpenTelemetryBundle\OpenTelemetry\Exporter;
4

5
use OpenTelemetry\SDK\Common\Configuration\KnownValues;
6

7
enum OtlpExporterCompressionEnum: string
8
{
9
    case Gzip = 'gzip';
10
    case None = 'none';
11

12
    public function toKnownValue(): string
13
    {
UNCOV
14
        return match ($this) {
×
UNCOV
15
            self::Gzip => KnownValues::VALUE_GZIP,
×
UNCOV
16
            self::None => KnownValues::VALUE_NONE,
×
UNCOV
17
        };
×
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc