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:
Meirza
2023-04-12 16:39:43 +07:00
parent bd2de8edf6
commit bb7f3bd9f5
129 changed files with 3563 additions and 0 deletions
@@ -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';