Describe the bug
When running any Symfony command, the following error happens:
In LazyServiceDumper.php line 138:
Cannot generate lazy proxy for service "aws.s3".
In ProxyHelper.php line 268:
Cannot generate lazy proxy: method "Aws\S3\S3Client::getSignatureProvider()" is final.
Regression Issue
Expected Behavior
aws.s3 Symfony service is loaded without any errors.
Current Behavior
When running any Symfony command, the following error happens:
In LazyServiceDumper.php line 138:
Cannot generate lazy proxy for service "aws.s3".
In ProxyHelper.php line 268:
Cannot generate lazy proxy: method "Aws\S3\S3Client::getSignatureProvider()" is final.
Reproduction Steps
Install the following versions inside a Symfony 6.4 project with PHP 8.4:
- aws/aws-sdk-php (3.356.9)
- aws/aws-sdk-php-symfony (2.8.0)
Inject the @aws.s3 service as argument to any Symfony service.
Run bin/console debug:container
Possible Solution
Make Aws\S3\S3Client::getSignatureProvider() (Code) non-final
Additional Information/Context
No response
SDK version used
3.356.9
Environment details (OS name and version, etc.)
Ubuntu 24.04, PHP 8.4, Symfony 6.4
Describe the bug
When running any Symfony command, the following error happens:
Regression Issue
Expected Behavior
aws.s3Symfony service is loaded without any errors.Current Behavior
When running any Symfony command, the following error happens:
Reproduction Steps
Install the following versions inside a Symfony 6.4 project with PHP 8.4:
Inject the
@aws.s3service as argument to any Symfony service.Run
bin/console debug:containerPossible Solution
Make
Aws\S3\S3Client::getSignatureProvider()(Code) non-finalAdditional Information/Context
No response
SDK version used
3.356.9
Environment details (OS name and version, etc.)
Ubuntu 24.04, PHP 8.4, Symfony 6.4