smartinmedia/cunity

View on GitHub
lib/modules/Filesharing/Controller.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function create()
    {
        $uploader = new UploadHelper();
        $uploader->setExtension(UploadHelper::generateExtension($_FILES['file']['name']));
        $uploader->setTempFile($_FILES['file']['tmp_name']);
Severity: Minor
Found in lib/modules/Filesharing/Controller.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status