modules/Vtiger/inventoryfields/Subunit.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Vtiger_Subunit_InventoryField extends Vtiger_Unit_InventoryField
- Exclude checks
The class Vtiger_Subunit_InventoryField is not named in CamelCase. Open
Open
class Vtiger_Subunit_InventoryField extends Vtiger_Unit_InventoryField
{
/** {@inheritdoc} */
protected $type = 'Subunit';
/** {@inheritdoc} */
- 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
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $columnName = 'subunit';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $defaultLabel = 'FL_SUBUNIT';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $type = 'Subunit';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $dbType = 'string';
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/** {@inheritdoc} */
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $onlyOne = true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
protected $purifyType = \App\Purifier::TEXT;
- Exclude checks
Class name "Vtiger_Subunit_InventoryField" is not in camel caps format Open
Open
class Vtiger_Subunit_InventoryField extends Vtiger_Unit_InventoryField
- Exclude checks