appengine-php-sdk
appengine-php-sdk copied to clipboard
PHP 8.2 dynamic property warning
Under PHP 8.2 runtime this notice is emitted
Creation of dynamic property google\appengine\ext\remote_api\Request::$request_id is deprecated in \vendor\google\appengine-php-sdk\src\Ext\RemoteApi\remote_api_pb.php:80
Some more information about PHP 8.2 dynamic properties: https://php.watch/versions/8.2/dynamic-properties-deprecated
Just adding extends \stdClass
to class \google\net\ProtocolMessage
solves the issue and its compatible with older PHP versions.
We need this fix in order to be able to use the SDK in the new PHP 8.2 runtime for AppEngine Standard
@jinglundong
Ludo, I think we need to reserve (or request additional) capacity for the PHP SDK repo. I'm a bit overloaded at this point.