chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

The parameter $on_homepage is not named in camelCase.
Open

    public function __construct(
        $id,
        $title,
        $url,
        $description,

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

class Link extends Resource
{
    /**
     * The title.
     */

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

class Link extends Resource
{
    /**
     * The title.
     */

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

    public function __construct(
        $id,
        $title,
        $url,
        $description,

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

    public function __construct(
        $id,
        $title,
        $url,
        $description,

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

    public function __construct(
        $id,
        $title,
        $url,
        $description,

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