From ea24e90b8bcf62d0f4f76fd5a94cd3d0f5bb4f96 Mon Sep 17 00:00:00 2001 From: Mauro Cassani Date: Mon, 23 Sep 2024 16:21:43 +0200 Subject: [PATCH 1/2] Temp fix: suppressing PHP < 8.1 warnings --- .gitignore | 5 +++-- src/ClientFactory.php | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 007230e..5943800 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .idea .php_cs.cache build -config/credentials.*.ini +config/credentials.ini log -vendor \ No newline at end of file +vendor +composer.lock \ No newline at end of file diff --git a/src/ClientFactory.php b/src/ClientFactory.php index a484ed0..67dd29d 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -79,6 +79,9 @@ private static function createConfigArray(array $config) ); } + // Temp fix: suppressing PHP < 8.1 warnings + $config['suppress_php_deprecation_warning'] = true; + return $config; } From acbb00b1003486ecd23990bf49c4caf620af15a9 Mon Sep 17 00:00:00 2001 From: Mauro Cassani Date: Mon, 23 Sep 2024 16:23:21 +0200 Subject: [PATCH 2/2] composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f5a05a9..5b0adea 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "require": { "php": ">=5.6", "predis/predis": "^2.0", - "aws/aws-sdk-php": "^3.93", + "aws/aws-sdk-php": "^3.322", "ext-curl": "^7.3", "ext-fileinfo": "^7.3", "ext-redis": "*",