From 884fd92f1320d17daebb772297da03fb2cfa59b8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Oct 2024 16:00:34 +0300 Subject: drop opentelemetry --- .../context/FiberBoundContextStorageScope.php | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 vendor/open-telemetry/context/FiberBoundContextStorageScope.php (limited to 'vendor/open-telemetry/context/FiberBoundContextStorageScope.php') diff --git a/vendor/open-telemetry/context/FiberBoundContextStorageScope.php b/vendor/open-telemetry/context/FiberBoundContextStorageScope.php deleted file mode 100644 index 647552244..000000000 --- a/vendor/open-telemetry/context/FiberBoundContextStorageScope.php +++ /dev/null @@ -1,67 +0,0 @@ -scope = $scope; - } - - public function offsetExists($offset): bool - { - return $this->scope->offsetExists($offset); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->scope->offsetGet($offset); - } - - public function offsetSet($offset, $value): void - { - $this->scope->offsetSet($offset, $value); - } - - public function offsetUnset($offset): void - { - $this->scope->offsetUnset($offset); - } - - public function context(): ContextInterface - { - return $this->scope->context(); - } - - public function detach(): int - { - $flags = $this->scope->detach(); - assert(class_exists(Fiber::class, false)); - if ($this->scope[Fiber::class] !== Fiber::getCurrent()) { - $flags |= ScopeInterface::INACTIVE; - } - - return $flags; - } -} -- cgit v1.2.3-54-g00ecf