optimizely/php-sdk

Deprecated: Creation of dynamic property Optimizely\ProjectConfigManager\HTTPProjectConfigManager::$isDatafileAccessTokenValid is deprecated

wadekarrahul opened this issue · 2 comments

Getting a Deprecated warning on php 8.2.

Deprecated: Creation of dynamic property Optimizely\ProjectConfigManager\HTTPProjectConfigManager::$isDatafileAccessTokenValid is deprecated in /vendor/optimizely/optimizely-sdk/src/Optimizely/ProjectConfigManager/HTTPProjectConfigManager.php on line 97

Thanks for reporting @wadekarrahul. We are looking for how to best provide guidance and steering in a "go forward" for this SDK.

For now, have you considered adjusting your error_reporting(E_ALL & ~E_DEPRECATED);?

Also, feel free to submit a Pull Request with a modification to the codebase.

Merged to main branch.