YetiForceCompany/YetiForceCRM

View on GitHub
modules/Settings/Mail/views/List.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Assigning string to property but \Settings_Mail_List_View->pageTitle is \type
Open

    protected $pageTitle = 'LBL_MAIL_QUEUE_PAGE_TITLE';
Severity: Minor
Found in modules/Settings/Mail/views/List.php by phan

Property \Settings_Mail_List_View->pageTitle has undeclared type \type
Open

    protected $pageTitle = 'LBL_MAIL_QUEUE_PAGE_TITLE';
Severity: Minor
Found in modules/Settings/Mail/views/List.php by phan

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

class Settings_Mail_List_View extends Settings_Vtiger_List_View

The class Settings_Mail_List_View is not named in CamelCase.
Open

class Settings_Mail_List_View extends Settings_Vtiger_List_View
{
    /**
     * Page title.
     *
Severity: Minor
Found in modules/Settings/Mail/views/List.php by phpmd

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * Page title.

Spaces must be used to indent lines; tabs are not allowed
Open

    protected $pageTitle = 'LBL_MAIL_QUEUE_PAGE_TITLE';

Spaces must be used to indent lines; tabs are not allowed
Open

     * @var type

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Class name "Settings_Mail_List_View" is not in camel caps format
Open

class Settings_Mail_List_View extends Settings_Vtiger_List_View

There are no issues that match your filters.

Category
Status