LibreNMS/Exceptions/RrdGraphException.php
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($error, $short_text = null, $width = null, $height = null, $exit_code = 0, $image_output = '')
The property $short_text is not named in camelCase. Open
Open
class RrdGraphException extends Exception
{
/** @var string */
protected $image_output;
/** @var string|null */
- 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 $image_output is not named in camelCase. Open
Open
class RrdGraphException extends Exception
{
/** @var string */
protected $image_output;
/** @var string|null */
- 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;
}