chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Component/CourseCopy/Resources/SurveyInvitation.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $invitation_code is not named in camelCase.
Open

class SurveyInvitation extends Resource
{
    /**
     * Survey code.
     */

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 $invitation_date is not named in camelCase.
Open

class SurveyInvitation extends Resource
{
    /**
     * Survey code.
     */

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 $reminder_date is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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 $reminder_date is not named in camelCase.
Open

class SurveyInvitation extends Resource
{
    /**
     * Survey code.
     */

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 $invitation_code is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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 $invitation_date is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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 $invitation_code is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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 $invitation_date is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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 $reminder_date is not named in camelCase.
Open

    public function __construct($id, $code, $user, $invitation_code, $invitation_date, $reminder_date)
    {
        parent::__construct($id, RESOURCE_SURVEYINVITATION);
        $this->code = $code;
        $this->user = $user;

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

There are no issues that match your filters.

Category
Status