chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

The class ch_percentage is not named in CamelCase.
Open

class ch_percentage extends survey_question
{
    /**
     * @param array  $questionData
     * @param string $answers
Severity: Minor
Found in public/main/survey/ch_percentage.php by phpmd

CamelCaseClassName

Since: 0.2

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

Example

class class_name {
}

Source

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 string $answers

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

class ch_percentage extends survey_question

There are no issues that match your filters.

Category
Status