YetiForceCompany/YetiForceCRM

View on GitHub
modules/OSSMailScanner/scanneractions/BindProject.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model

The class OSSMailScanner_BindProject_ScannerAction is not named in CamelCase.
Open

class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model
{
    public $moduleName = 'Project';
    public $tableName = 'vtiger_project';
    public $tableColumn = 'project_no';

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

    {

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

        $this->mail = $mail;

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

    public $tableColumn = 'project_no';

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

    public $moduleName = 'Project';

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

    public $tableName = 'vtiger_project';

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

    public function process(OSSMail_Mail_Model $mail)

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

        return parent::findAndBind();

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

class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model

There are no issues that match your filters.

Category
Status