aws / aws-sdk-php-zf2

ZF2 module for using the AWS SDK for PHP to interact with AWS services like S3, DynamoDB, SQS, EC2, etc.
http://aws.amazon.com/sdkforphp/
Apache License 2.0
103 stars 63 forks source link

compatible zend-filter 2.9.0 for RenameUpload::getFinalTarget() #58

Closed samsonasik closed 5 years ago

samsonasik commented 5 years ago

Latest dev-master build got travis build error because it tried to install latest zend-filter and current latest zend-filter 2.9.0 has different method signature for RenameUpload::getFinalTarget(). I updated the AwsModule\Filter\File\S3RenameUpload::getFinalTarget() to use it:

protected function getFinalTarget($source, $clientFileName)

and also update the required zend-filter to use ^2.9.0 so the compatible code will work for user with latest zend-filter ^2.9.0 only. Phpunit is also updated to as now is also updated to not get deprecated code notice.