midasplatform/Midas

View on GitHub
core/controllers/forms/FolderForm.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing class import via use statement (line '41', column '28').
Open

        $description = new Zend_Form_Element_Textarea('description');
Severity: Minor
Found in core/controllers/forms/FolderForm.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '32', column '21').
Open

        $name = new Zend_Form_Element_Text('name');
Severity: Minor
Found in core/controllers/forms/FolderForm.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '27', column '21').
Open

        $form = new Zend_Form();
Severity: Minor
Found in core/controllers/forms/FolderForm.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '43', column '23').
Open

        $teaser = new Zend_Form_Element_Text('teaser');
Severity: Minor
Found in core/controllers/forms/FolderForm.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '46', column '24').
Open

        $submit = new  Zend_Form_Element_Submit('submit');
Severity: Minor
Found in core/controllers/forms/FolderForm.php by phpmd

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class FolderForm extends AppForm

There are no issues that match your filters.

Category
Status