andersundsehr/aus_driver_amazon_s3

View on GitHub
Classes/S3Adapter/MultipartUploaderAdapter.php

Summary

Maintainability
A
1 hr
Test Coverage

Method upload has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function upload(string $localFilePath, string $targetFilePath, string $bucket, string $cacheControl)
    {
        $fileInfo = finfo_open(FILEINFO_MIME_TYPE);
        $contentType = finfo_file($fileInfo, $localFilePath);
        finfo_close($fileInfo);
Severity: Minor
Found in Classes/S3Adapter/MultipartUploaderAdapter.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status