chamilo/chamilo-lms

View on GitHub
public/plugin/customfooter/lib/customfooter_plugin.class.php

Summary

Maintainability
A
0 mins
Test Coverage

Missing function doc comment
Open

    public function get_name()

Missing function doc comment
Open

    public function pix_url($pixname, $size = 16)

Method name "CustomFooterPlugin::pix_url" is not in camel caps format
Open

    public function pix_url($pixname, $size = 16)

Method name "CustomFooterPlugin::get_name" is not in camel caps format
Open

    public function get_name()

The variable $_configuration is not named in camelCase.
Open

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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 method get_name is not named in camelCase.
Open

    public function get_name()
    {
        return 'customfooter';
    }

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

    public function pix_url($pixname, $size = 16)
    {
        global $_configuration;

        if (file_exists(

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