protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

[PHP] allow dynamic properties in Message

Open brettmc opened this issue 3 years ago • 0 comments

PHP 8.2 complains about Internal\Message setting dynamic properties:

Creation of dynamic property xxx is deprecated /usr/src/myapp/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php:153

Since the class uses dynamic properties a bit, enable them explicitly with an attribute.

brettmc avatar Sep 16 '22 06:09 brettmc