modules/OSSMailScanner/scanneractions/BindProject.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model
- Exclude checks
The class OSSMailScanner_BindProject_ScannerAction is not named in CamelCase. Open
Open
class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model
{
public $moduleName = 'Project';
public $tableName = 'vtiger_project';
public $tableColumn = 'project_no';
- Read upRead up
- Exclude checks
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
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->mail = $mail;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $tableColumn = 'project_no';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $moduleName = 'Project';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public $tableName = 'vtiger_project';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function process(OSSMail_Mail_Model $mail)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return parent::findAndBind();
- Exclude checks
Class name "OSSMailScanner_BindProject_ScannerAction" is not in camel caps format Open
Open
class OSSMailScanner_BindProject_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model
- Exclude checks