XoopsModules25x/xoopsinfo

View on GitHub
phpsysinfo/includes/to/class.UPSInfo.inc.php

Summary

Maintainability
A
0 mins
Test Coverage

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class UPSInfo

The property $_upsDevices is not named in camelCase.
Open

class UPSInfo
{
    /**
     * array with upsdivices
     *

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

    private $_upsDevices = array();

Line exceeds 120 characters; contains 132 characters
Open

 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version

Line exceeds 120 characters; contains 132 characters
Open

 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version

There are no issues that match your filters.

Category
Status