The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Exclude checks
The property $survey_id is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 parameter $is_required is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $survey_question is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $shared_question_id is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $max_value is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 parameter $option_text is not named in camelCase. Open
public function add_answer($option_text, $sort)
{
$answer = [];
$answer['option_text'] = $option_text;
$answer['sort'] = $sort;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $survey_question_type is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 parameter $survey_id is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $survey_question is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 parameter $survey_question_comment is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $survey_question_comment is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 $shared_question_id is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 $is_required is not named in camelCase. Open
class SurveyQuestion extends Resource
{
/**
* Survey ID.
*/
- 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 parameter $max_value is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The variable $shared_question_id is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 $max_value is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 $survey_question is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 $survey_id is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 $is_required is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 $option_text is not named in camelCase. Open
public function add_answer($option_text, $sort)
{
$answer = [];
$answer['option_text'] = $option_text;
$answer['sort'] = $sort;
- 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 $survey_question_comment is not named in camelCase. Open
public function __construct(
$id,
$survey_id,
$survey_question,
$survey_question_comment,
- 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 add_answer is not named in camelCase. Open
public function add_answer($option_text, $sort)
{
$answer = [];
$answer['option_text'] = $option_text;
$answer['sort'] = $sort;
- 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() {
}
}