e107inc/e107

View on GitHub
e107_plugins/forum/forum_mod.php

Summary

Maintainability
A
30 mins
Test Coverage
F
6%

Avoid too many return statements within this method.
Open

                return forumDeletePost($id);
Severity: Major
Found in e107_plugins/forum/forum_mod.php - About 30 mins to fix

    Suspicious type bool|null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
    Open

        return LAN_CANCEL.' and '.$ret.' '.FORLAN_7.'.';
    Severity: Minor
    Found in e107_plugins/forum/forum_mod.php by phan

    Suspicious type true of a variable or expression used to build a string. (Expected type to be able to cast to a string)
    Open

        return LAN_CANCEL.' and '.$ret.' '.FORLAN_7.'.';
    Severity: Minor
    Found in e107_plugins/forum/forum_mod.php by phan

    There are no issues that match your filters.

    Category
    Status