When using the S3RenameUpload-Filter I get a warning saying:
"Warning: Declaration of AwsModule\Filter\File\S3RenameUpload::getFinalTarget($uploadData) should be compatible with Zend\Filter\File\RenameUpload::getFinalTarget($source, $clientFileName) in /platform/vendor/aws/aws-sdk-php-zf2/src/Filter/File/S3RenameUpload.php on line 12"
We have noticed this issue has not recieved attention in 3 years. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.
Version of AWS SDK for PHP?
3.133.6
Version of AWS SDK ZF2 Module?
3.0.0
Version of ZF2?
Version of PHP (
php -v
)?7.1
What issue did you see?
When using the S3RenameUpload-Filter I get a warning saying: "Warning: Declaration of AwsModule\Filter\File\S3RenameUpload::getFinalTarget($uploadData) should be compatible with Zend\Filter\File\RenameUpload::getFinalTarget($source, $clientFileName) in /platform/vendor/aws/aws-sdk-php-zf2/src/Filter/File/S3RenameUpload.php on line 12"
This ZF-change was introduced in https://github.com/zendframework/zend-filter/commit/f97d4160219ac831c7e3164f92bcdc3f637c5f41 - which was released with v.2.9.0 of "zendframework/zend-filter"