mambax7/publisher

View on GitHub

Showing 3,032 of 3,032 total issues

The variable $max_units is not named in camelCase.
Open

    public function getItemRating($itemId = null, $source = null): array
    {
        $itemId    = $itemId ?? 0;
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $rating_unitwidth is not named in camelCase.
Open

    public function getItemRating5($itemObj = null, $source = null): array
    {
        $itemId    = $itemObj->itemid();
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $rating_unitwidth is not named in camelCase.
Open

    public function getItemRating($itemId = null, $source = null): array
    {
        $itemId    = $itemId ?? 0;
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $max_units is not named in camelCase.
Open

    public function getItemRating5($itemObj = null, $source = null): array
    {
        $itemId    = $itemObj->itemid();
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $rating_unitwidth is not named in camelCase.
Open

    public function getItemRating($itemId = null, $source = null): array
    {
        $itemId    = $itemId ?? 0;
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $max_units is not named in camelCase.
Open

    public function getItemRating5($itemObj = null, $source = null): array
    {
        $itemId    = $itemObj->itemid();
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $max_units is not named in camelCase.
Open

    public function getItemRating($itemId = null, $source = null): array
    {
        $itemId    = $itemId ?? 0;
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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 $max_units is not named in camelCase.
Open

    public function getItemRating($itemId = null, $source = null): array
    {
        $itemId    = $itemId ?? 0;
        $source    = $source ?? 0;
        $xoopsUser = $GLOBALS['xoopsUser'];
Severity: Minor
Found in class/VoteHandler.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

TODO found
Open

        // TODO : put this function in the category class
Severity: Minor
Found in admin/category.php by fixme

TODO found
Open

        $result       = $GLOBALS['xoopsDB']->query($sql); // TODO: error check
Severity: Minor
Found in include/notification.inc.php by fixme

TODO found
Open

    //TODO
Severity: Minor
Found in class/VoteHandler.php by fixme

TODO found
Open

    //TODO rename this function? And exclude image folder?
Severity: Minor
Found in class/Utility.php by fixme

TODO found
Open

        TODO if you want to use the render code below,
Severity: Minor
Found in class/Common/Breadcrumb.php by fixme

TODO found
Open

        // TODO set exportSchema
Severity: Minor
Found in testdata/index.php by fixme

TODO found
Open

            // TODO: copy contents folder
Severity: Minor
Found in admin/import/smartsection.php by fixme

TODO found
Open

                    //TODO do I need to start with 2nd element?
Severity: Minor
Found in blocks/items_columns.php by fixme

TODO found
Open

                // TODO : put this function in the category class
Severity: Minor
Found in admin/category.php by fixme

TODO found
Open

     * @TODO need to exit more gracefully on error. Should throw/trigger error and then return false
Severity: Minor
Found in class/Common/SysUtility.php by fixme

TODO found
Open

            // TODO : display the available mimetypes to the user
Severity: Minor
Found in file.php by fixme

TODO found
Open

    //mb TODO simplify next lines with category
Severity: Minor
Found in blocks/search.php by fixme
Severity
Category
Status
Source
Language