chamilo/chamilo-lms

View on GitHub
public/plugin/courseblock/CourseBlockPlugin.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $course_settings is not named in camelCase.
Open

class CourseBlockPlugin extends Plugin
{
    public $isCoursePlugin = true;
    public $addCourseTool = false;

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

Missing function doc comment
Open

    public function install()

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

    public $course_settings = [

Missing function doc comment
Open

    public function uninstall()

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        ],

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        ],

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        [

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        [

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        ],

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        ],

Line indented incorrectly; expected at least 9 spaces, found 8
Open

        [

There are no issues that match your filters.

Category
Status