MDL-77374 libraries: Added #[AllowDynamicProperties] attribute
To temporarily prevent the PHP 8.2 warning about Dynamic Properties' deprecation, the #[AllowDynamicProperties] property was added. We encourage anyone to perform the upgrade as soon as the Google library complies with PHP 8.2.
This commit is contained in:
@@ -23,6 +23,7 @@ if (!class_exists('Google_Client')) {
|
||||
* Manage large file uploads, which may be media but can be any type
|
||||
* of sizable data.
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
class Google_Http_MediaFileUpload
|
||||
{
|
||||
const UPLOAD_MEDIA_TYPE = 'media';
|
||||
|
||||
Reference in New Issue
Block a user