-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
PHP 8.3.19
Composer 2.8.8
Steps to reproduce
When upgrading to the latest version of the SDK (1.5.0 - 1.6.0) a PHP fatal error is being generated when the SDK is autoloaded.
What is the expected behavior?
No errors
What is the actual behavior?
PHP Fatal error: Declaration of Psr\Log\AbstractLogger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /srv/vendor/psr/log/src/LoggerTrait.php on line 18
Additional context
The issue appears to originate from line 190 in SdkAutoloader.php
private static function loadConfigPropertiesFromEnv(): ConfigProperties
{
...
$context = new \OpenTelemetry\API\Configuration\Context();
}
Braunson
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working