mambax7/smartpartner

View on GitHub

Showing 2,297 of 2,297 total issues

The method hits_page is not named in camelCase.
Open

    public function hits_page()
    {
        return $this->getVar('hits_page');
    }
Severity: Minor
Found in class/Partner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method phone_priv is not named in camelCase.
Open

    public function phone_priv()
    {
        return $this->getVar('phone_priv');
    }
Severity: Minor
Found in class/Partner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method contact_phone is not named in camelCase.
Open

    public function contact_phone($format = 'S')
    {
        $ret = $this->getVar('contact_phone', $format);
        if (('s' === $format) || ('S' === $format) || ('show' === $format)) {
            $myts = \MyTextSanitizer::getInstance();
Severity: Minor
Found in class/Partner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _copyFile is not named in camelCase.
Open

    public function _copyFile($chmod)
    {
        $matched = [];
        if (!preg_match("/\.([a-zA-Z0-9]+)$/", $this->mediaName, $matched)) {
            return false;
Severity: Minor
Found in class/Uploader.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method email_priv is not named in camelCase.
Open

    public function email_priv()
    {
        return $this->getVar('email_priv');
    }
Severity: Minor
Found in class/Partner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method adress_priv is not named in camelCase.
Open

    public function adress_priv()
    {
        return $this->getVar('adress_priv');
    }
Severity: Minor
Found in class/Partner.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

TODO found
Open

            // TODO: Delete partners in this category
Severity: Minor
Found in class/CategoryHandler.php by fixme

TODO found
Open

         // TODO: displayitems comes from smartpartner and need to be adapted for smartpartner
Severity: Minor
Found in admin/category.php by fixme

TODO found
Open

                // TODO: implement smartpartner mimetype management
Severity: Minor
Found in admin/category.php by fixme

TODO found
Open

        $result       = $xoopsDB->query($sql); // TODO: error check
Severity: Minor
Found in include/notification.inc.php by fixme

TODO found
Open

// TODO: The SEO feature is not fully implemented in the module...
Severity: Minor
Found in include/seo_functions.php by fixme

TODO found
Open

// TODO  edit2, delete2, customblocks
Severity: Minor
Found in include/blocksadmin.inc.php by fixme

TODO found
Open

             * @TODO: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5
Severity: Minor
Found in class/PersistableObjectHandler.php by fixme

TODO found
Open

            // TODO: display the available mimetypes to the user
Severity: Minor
Found in class/Utility.php by fixme

TODO found
Open

                // TODO: prefix the image file with the partnerid, but for that we need to first save the partner to get partnerid...
Severity: Minor
Found in admin/partner.php by fixme

TODO found
Open

         // TODO: displaysubcats comes from smartpartner and need to be adapted for smartpartner
Severity: Minor
Found in admin/category.php by fixme

TODO found
Open

//TODO needs to be refactored for TCPDF
Severity: Minor
Found in makepdf.php by fixme
Severity
Category
Status
Source
Language