From ae12cd99e17c711bf0223bf7fa761415d5cd0b49 Mon Sep 17 00:00:00 2001 From: Dima Date: Thu, 25 Aug 2016 18:06:38 +0300 Subject: [PATCH 1/2] Update services.yml fix services.yml for symfony 3 --- Resources/config/services.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 0e842d7..5feb630 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -2,9 +2,9 @@ services: coshi.amazon_transcoder.transcoder: class: Coshi\Bundle\TranscodeBundle\Transcoder\Transcoder arguments: - - @service_container - - @coshi.amazon_transcoder.s3client - - @coshi.amazon_transcoder.elastict_transcoder_client + - "@service_container" + - "@aws_s3.client" + - "@coshi.amazon_transcoder.elastict_transcoder_client" coshi.amazon_transcoder.s3client: class: Aws\S3\S3Client factory: [Aws\S3\S3Client, factory] @@ -14,4 +14,9 @@ services: class: Aws\ElasticTranscoder\ElasticTranscoderClient factory: [Aws\ElasticTranscoder\ElasticTranscoderClient, factory] arguments: - - { key: "%aws_access_key_id%", secret: "%aws_secret_key%", region: "%aws_transcoder_region%" } \ No newline at end of file + - + credentials: + key: %amazon_s3.key% + secret: %amazon_s3.secret% + region: %amazon_s3.region% + version: latest From 177c8809e80af0c3f78619f9097bfb743fdd8f92 Mon Sep 17 00:00:00 2001 From: Dima Date: Fri, 26 Aug 2016 11:11:04 +0300 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fc397c6..1194c49 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "doctrine/orm": "@stable", "doctrine/common": "@stable", "doctrine/dbal": "@stable", - "aws/aws-sdk-php": "2.6.*" + "aws/aws-sdk-php": "^3.2.6" }, "autoload": { "psr-0": { "Coshi\\TranscodeBundle": "" }