chamilo/chamilo-lms

View on GitHub
public/main/exercise/export/scorm/ScormAssessmentItem.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $question_ident is not named in camelCase.
Open

class ScormAssessmentItem
{
    public $question;
    public $question_ident;
    public $answer;

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Method name "ScormAssessmentItem::start_js" is not in camel caps format
Open

    public function start_js()

Method name "ScormAssessmentItem::start_header" is not in camel caps format
Open

    public function start_header()

Method name "ScormAssessmentItem::end_js" is not in camel caps format
Open

    public function end_js()

Method name "ScormAssessmentItem::start_page" is not in camel caps format
Open

    public function start_page()

Method name "ScormAssessmentItem::end_header" is not in camel caps format
Open

    public function end_header()

Method name "ScormAssessmentItem::end_page" is not in camel caps format
Open

    public function end_page()

Method name "ScormAssessmentItem::end_body" is not in camel caps format
Open

    public function end_body()

Method name "ScormAssessmentItem::start_body" is not in camel caps format
Open

    public function start_body()

Member variable "question_ident" is not in valid camel caps format
Open

    public $question_ident;

The method end_js is not named in camelCase.
Open

    public function end_js()
    {
        /*if ($this->standalone) {
            return '</script>';
        }*/

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method start_body is not named in camelCase.
Open

    public function start_body()
    {
        /*if ($this->standalone) {
            return '<body><form id="dokeos_scorm_form" method="post" action="">';
        }*/

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method start_page is not named in camelCase.
Open

    public function start_page()
    {
        return '';
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method start_header is not named in camelCase.
Open

    public function start_header()
    {
        /*if ($this->standalone) {
            return '<head>';
        }*/

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method end_header is not named in camelCase.
Open

    public function end_header()
    {
//        if ($this->standalone) {
//            return '</head>';
//        }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method start_js is not named in camelCase.
Open

    public function start_js()
    {
        return '<script type="text/javascript" src="assets/api_wrapper.js"></script>';
    }

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method end_page is not named in camelCase.
Open

    public function end_page()
    {
        /*if ($this->standalone) {
            return '</html>';
        }*/

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method end_body is not named in camelCase.
Open

    public function end_body()
    {
        /*if ($this->standalone) {
            return '<br /><input class="btn" type="button" id="dokeos_scorm_submit" name="dokeos_scorm_submit" value="OK" /></form></body>';
        }*/

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status