public/main/survey/ch_dropdown.php
The class ch_dropdown is not named in CamelCase. Open
Open
class ch_dropdown extends survey_question
{
/**
* @param array $surveyData
* @param $formData
- Read upRead up
- Exclude checks
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 $answers does not match actual variable name $questionData Open
Open
* @param array $answers
- Exclude checks
Missing parameter name Open
Open
* @param $formData
- Exclude checks
Expected 4 spaces after parameter type; 1 found Open
Open
* @param array $surveyData
- Exclude checks
Doc comment for parameter $questionData does not match actual variable name $form Open
Open
* @param array $questionData
- Exclude checks
Class name "ch_dropdown" is not in camel caps format Open
Open
class ch_dropdown extends survey_question
- Exclude checks