chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

The variable $user_info is not named in camelCase.
Open

    public function show()
    {
        parent::show();
        $extra = api_convert_and_format_date($this->obj->thread_date);
        if ($this->obj->thread_poster_id) {

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

    public function show()
    {
        parent::show();
        $extra = api_convert_and_format_date($this->obj->thread_date);
        if ($this->obj->thread_poster_id) {

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