From 7dd733158d34aec7e888bfba58535c202728a7e6 Mon Sep 17 00:00:00 2001 From: pauldambra Date: Tue, 27 Oct 2026 16:29:59 +0000 Subject: [PATCH] chore: drop internal SpanContext from the public API snapshot #276 stopped the snapshot from listing PostHog\Internal classes, and #267 added Internal\SpanContext at the same time. Main's snapshot still listed it, so the public-api check failed on main and on every PR. Generated-By: PostHog Desktop Task-Id: e73c8b25-9501-4f04-9fd8-e82415e1f9f9 --- api/public-api.json | 114 -------------------------------------------- 1 file changed, 114 deletions(-) diff --git a/api/public-api.json b/api/public-api.json index 69f9728..6344714 100644 --- a/api/public-api.json +++ b/api/public-api.json @@ -3403,120 +3403,6 @@ } } }, - "PostHog\\Internal\\SpanContext": { - "type": "class", - "abstract": false, - "final": true, - "readonly": false, - "extends": null, - "implements": [], - "constants": [], - "properties": [], - "methods": { - "enrich": { - "static": true, - "abstract": false, - "final": false, - "returnType": "void", - "parameters": [ - { - "name": "client", - "type": "PostHog\\Client", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - }, - { - "name": "span", - "type": "OpenTelemetry\\API\\Trace\\SpanInterface", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - } - ] - }, - "enrichCurrent": { - "static": true, - "abstract": false, - "final": false, - "returnType": "void", - "parameters": [ - { - "name": "client", - "type": "PostHog\\Client", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - } - ] - }, - "register": { - "static": true, - "abstract": false, - "final": false, - "returnType": "void", - "parameters": [ - { - "name": "client", - "type": "PostHog\\Client", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - }, - { - "name": "processor", - "type": "object", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - } - ] - }, - "unregister": { - "static": true, - "abstract": false, - "final": false, - "returnType": "void", - "parameters": [ - { - "name": "client", - "type": "PostHog\\Client", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - }, - { - "name": "processor", - "type": "object", - "byReference": false, - "variadic": false, - "optional": false, - "default": null, - "defaultConstant": null, - "hasDefault": false - } - ] - } - } - }, "PostHog\\OpenTelemetry\\ContextSpanProcessor": { "type": "class", "abstract": false,