Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated code and BC hacks #1099

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions src/API/Trace/AbstractSpan.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/API/Trace/SpanContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
*/
interface SpanContextInterface
{
/** @deprecated */
public const TRACE_FLAG_SAMPLED = 0x01;
/** @deprecated */
public const TRACE_FLAG_DEFAULT = 0x00;

public static function createFromRemoteParent(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface;
public static function getInvalid(): SpanContextInterface;
public static function create(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface;
Expand Down
46 changes: 0 additions & 46 deletions src/SDK/Common/Dev/Compatibility/BC/ApiCommon.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/SDK/Common/Dev/Compatibility/BC/LogRecordProcessors.php

This file was deleted.

53 changes: 0 additions & 53 deletions src/SDK/Common/Dev/Compatibility/BC/OtlpExporter.php

This file was deleted.

8 changes: 4 additions & 4 deletions src/SDK/Common/Dev/Compatibility/_load.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

declare(strict_types=1);

require_once __DIR__ . '/BC/OtlpExporter.php';
require_once __DIR__ . '/BC/ApiCommon.php';
require_once __DIR__ . '/BC/LogRecordProcessors.php';
/**
* To add a BC compatibility:
* require_once __DIR__ . '/BC/SomeFile.php';
*/
197 changes: 0 additions & 197 deletions src/SDK/Common/Dsn/Dsn.php

This file was deleted.

Loading
Loading