src/Client.php
Method postFile
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function postFile($sourceFilepath, $destinationFilepath = null, $enforceUnicity = false)
{
$mimeType = mime_content_type($sourceFilepath);
if (!$destinationFilepath) {
// No specified filename, use the uploaded one