creads/partners-sdk-php

View on GitHub
src/Client.php

Summary

Maintainability
A
1 hr
Test Coverage

Method postFile has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function postFile($sourceFilepath, $destinationFilepath = null, $enforceUnicity = false)
    {
        $mimeType = mime_content_type($sourceFilepath);
        if (!$destinationFilepath) {
            // No specified filename, use the uploaded one
Severity: Minor
Found in src/Client.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status