phpsysinfo/includes/to/device/class.SensorDevice.inc.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class SensorDevice
- Exclude checks
The property $_name is not named in camelCase. Open
Open
class SensorDevice
{
/**
* name of the sensor
*
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $_value is not named in camelCase. Open
Open
class SensorDevice
{
/**
* name of the sensor
*
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $_event is not named in camelCase. Open
Open
class SensorDevice
{
/**
* name of the sensor
*
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $_max is not named in camelCase. Open
Open
class SensorDevice
{
/**
* name of the sensor
*
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $_min is not named in camelCase. Open
Open
class SensorDevice
{
/**
* name of the sensor
*
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
Property name "$_min" should not be prefixed with an underscore to indicate visibility Open
Open
private $_min = null;
- Exclude checks
Property name "$_name" should not be prefixed with an underscore to indicate visibility Open
Open
private $_name = "";
- Exclude checks
Property name "$_event" should not be prefixed with an underscore to indicate visibility Open
Open
private $_event = "";
- Exclude checks
Property name "$_value" should not be prefixed with an underscore to indicate visibility Open
Open
private $_value = 0;
- Exclude checks
Property name "$_max" should not be prefixed with an underscore to indicate visibility Open
Open
private $_max = null;
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
- Exclude checks