LibreNMS/Exceptions/UnserializableRouteCache.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($message = '', $code = 0, Throwable $previous = null, $cli_php_version = null, $web_php_version = null)
The property $cli_php_version is not named in camelCase. Open
Open
class UnserializableRouteCache extends \Exception implements UpgradeableException
{
protected $cli_php_version;
protected $web_php_version;
- 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 $web_php_version is not named in camelCase. Open
Open
class UnserializableRouteCache extends \Exception implements UpgradeableException
{
protected $cli_php_version;
protected $web_php_version;
- 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;
}