mambax7/extgallery

View on GitHub
blocks/extgallery_block_tag.php

Summary

Maintainability
A
0 mins
Test Coverage

The variable $module_dirname is not named in camelCase.
Open

function extgallery_tag_block_cloud_show($options)
{
    $module_dirname = \basename(\dirname(__DIR__));
    // tags support
    if (xoops_isActiveModule('tag')) {
Severity: Minor
Found in blocks/extgallery_block_tag.php by phpmd

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

function extgallery_tag_block_top_show($options)
{
    $module_dirname = \basename(\dirname(__DIR__));

    // tags support
Severity: Minor
Found in blocks/extgallery_block_tag.php by phpmd

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

function extgallery_tag_block_cloud_show($options)
{
    $module_dirname = \basename(\dirname(__DIR__));
    // tags support
    if (xoops_isActiveModule('tag')) {
Severity: Minor
Found in blocks/extgallery_block_tag.php by phpmd

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

function extgallery_tag_block_top_show($options)
{
    $module_dirname = \basename(\dirname(__DIR__));

    // tags support
Severity: Minor
Found in blocks/extgallery_block_tag.php by phpmd

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