assets/js/ml-slider/inc/slider/metaslider.responsive.class.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class MetaResponsiveSlider extends MetaSlider
- Exclude checks
The property $js_path is not named in camelCase. Open
Open
class MetaResponsiveSlider extends MetaSlider
{
protected $js_function = 'responsiveSlides';
protected $js_path = 'sliders/responsiveslides/responsiveslides.min.js';
protected $css_path = 'sliders/responsiveslides/responsiveslides.css';
- 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 $js_function is not named in camelCase. Open
Open
class MetaResponsiveSlider extends MetaSlider
{
protected $js_function = 'responsiveSlides';
protected $js_path = 'sliders/responsiveslides/responsiveslides.min.js';
protected $css_path = 'sliders/responsiveslides/responsiveslides.css';
- 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 $css_path is not named in camelCase. Open
Open
class MetaResponsiveSlider extends MetaSlider
{
protected $js_function = 'responsiveSlides';
protected $js_path = 'sliders/responsiveslides/responsiveslides.min.js';
protected $css_path = 'sliders/responsiveslides/responsiveslides.css';
- 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
Method name "MetaResponsiveSlider::get_html" is not in camel caps format Open
Open
protected function get_html()
- Exclude checks
Method name "MetaResponsiveSlider::get_param" is not in camel caps format Open
Open
protected function get_param($param)
- Exclude checks
The variable $return_value is not named in camelCase. Open
Open
protected function get_html()
{
$return_value = "<ul id='" . $this->get_identifier() . "' class='rslides'>";
$first = true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_value is not named in camelCase. Open
Open
protected function get_html()
{
$return_value = "<ul id='" . $this->get_identifier() . "' class='rslides'>";
$first = true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_value is not named in camelCase. Open
Open
protected function get_html()
{
$return_value = "<ul id='" . $this->get_identifier() . "' class='rslides'>";
$first = true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $return_value is not named in camelCase. Open
Open
protected function get_html()
{
$return_value = "<ul id='" . $this->get_identifier() . "' class='rslides'>";
$first = true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method get_param is not named in camelCase. Open
Open
protected function get_param($param)
{
$params = [
'prevText' => 'prevText',
'nextText' => 'nextText',
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method get_html is not named in camelCase. Open
Open
protected function get_html()
{
$return_value = "<ul id='" . $this->get_identifier() . "' class='rslides'>";
$first = true;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}