phpsysinfo/includes/to/class.UPSInfo.inc.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class UPSInfo
- Exclude checks
The property $_upsDevices is not named in camelCase. Open
Open
class UPSInfo
{
/**
* array with upsdivices
*
- 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 "$_upsDevices" should not be prefixed with an underscore to indicate visibility Open
Open
private $_upsDevices = array();
- 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