chamilo/chamilo-lms

View on GitHub
public/main/survey/ch_selectivedisplay.php

Summary

Maintainability
A
0 mins
Test Coverage

The class ch_selectivedisplay is not named in CamelCase.
Open

class ch_selectivedisplay extends ch_yesno
{
    /**
     * @param array $questionData
     * @param array $answers

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

Missing function doc comment
Open

    public static function getJs()

You must use "/**" style comments for a class comment
Open

class ch_selectivedisplay extends ch_yesno

Doc comment for parameter $questionData does not match actual variable name $form
Open

     * @param array $questionData

Doc comment for parameter $answers does not match actual variable name $questionData
Open

     * @param array $answers

Class name "ch_selectivedisplay" is not in camel caps format
Open

class ch_selectivedisplay extends ch_yesno

There are no issues that match your filters.

Category
Status