Skip to content

refactor: better services injection with factories

Codecov / codecov/patch failed Feb 2, 2024 in 1s

25.48% of diff hit (target 64.09%)

View this Pull Request on Codecov

25.48% of diff hit (target 64.09%)

Annotations

Check warning on line 41 in src/DependencyInjection/OpenTelemetryExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryExtension.php#L38-L41

Added lines #L38 - L41 were not covered by tests

Check warning on line 44 in src/DependencyInjection/OpenTelemetryExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryExtension.php#L44

Added line #L44 was not covered by tests

Check warning on line 62 in src/DependencyInjection/OpenTelemetryExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryExtension.php#L62

Added line #L62 was not covered by tests

Check warning on line 130 in src/DependencyInjection/OpenTelemetryExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryExtension.php#L130

Added line #L130 was not covered by tests

Check warning on line 70 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L69-L70

Added lines #L69 - L70 were not covered by tests

Check warning on line 77 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L73-L77

Added lines #L73 - L77 were not covered by tests

Check warning on line 94 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L90-L94

Added lines #L90 - L94 were not covered by tests

Check warning on line 97 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L96-L97

Added lines #L96 - L97 were not covered by tests

Check warning on line 114 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L110-L114

Added lines #L110 - L114 were not covered by tests

Check warning on line 116 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L116

Added line #L116 was not covered by tests

Check warning on line 133 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L130-L133

Added lines #L130 - L133 were not covered by tests

Check warning on line 135 in src/DependencyInjection/OpenTelemetryLogsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryLogsExtension.php#L135

Added line #L135 was not covered by tests

Check warning on line 67 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 74 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L70-L74

Added lines #L70 - L74 were not covered by tests

Check warning on line 86 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L86

Added line #L86 was not covered by tests

Check warning on line 93 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L89-L93

Added lines #L89 - L93 were not covered by tests

Check warning on line 96 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L95-L96

Added lines #L95 - L96 were not covered by tests

Check warning on line 113 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L110-L113

Added lines #L110 - L113 were not covered by tests

Check warning on line 115 in src/DependencyInjection/OpenTelemetryMetricsExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryMetricsExtension.php#L115

Added line #L115 was not covered by tests

Check warning on line 72 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 79 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L75-L79

Added lines #L75 - L79 were not covered by tests

Check warning on line 96 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L92-L96

Added lines #L92 - L96 were not covered by tests

Check warning on line 99 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 115 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L112-L115

Added lines #L112 - L115 were not covered by tests

Check warning on line 122 in src/DependencyInjection/OpenTelemetryTracesExtension.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/DependencyInjection/OpenTelemetryTracesExtension.php#L118-L122

Added lines #L118 - L122 were not covered by tests