include/runtime/cache/Connectors.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Vtiger_Cache_Connector_Memory
- Exclude checks
The class Vtiger_Cache_Connector_Memory is not named in CamelCase. Open
Open
class Vtiger_Cache_Connector_Memory
{
public function set($key, $value)
{
$this->$key = $value;
- 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
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $this->$key ?? false;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function set($key, $value)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function get($key)
- 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
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function flush()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$this->$key = $value;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Class name "Vtiger_Cache_Connector_Memory" is not in camel caps format Open
Open
class Vtiger_Cache_Connector_Memory
- Exclude checks