chamilo/chamilo-lms

View on GitHub
public/main/forum/reply.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "show_forum" is not in valid camel caps format
Open

    if (!$show_forum) {
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

    (($current_forum_category && 0 != $current_forum_category->getLocked()) ||
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

        'url' => api_get_path(WEB_CODE_PATH).'forum/index.php?forumcategory='.$current_forum_category->getIid().'&'.api_get_cidreq(),
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_elements" is not in valid camel caps format
Open

    $my_elements
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_action" is not in valid camel caps format
Open

$my_action = isset($_GET['action']) ? Security::remove_XSS($_GET['action']) : '';
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_post" is not in valid camel caps format
Open

$post = $postRepo->find($my_post);
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "group_properties" is not in valid camel caps format
Open

        'name' => get_lang('Group area').' '.$group_properties['name'],
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

$current_forum_category = $forum->getForumCategory();
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_post" is not in valid camel caps format
Open

$my_post = isset($_GET['post']) ? Security::remove_XSS($_GET['post']) : '';
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "_user" is not in valid camel caps format
Open

$_user = api_get_user_info();
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

    (($current_forum_category && !$current_forum_category->isVisible($courseEntity)) ||
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

    (($current_forum_category && 0 != $current_forum_category->getLocked()) ||
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

    (($current_forum_category && !$current_forum_category->isVisible($courseEntity)) ||
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "show_forum" is not in valid camel caps format
Open

    $show_forum = GroupManager::userHasAccess(
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_action" is not in valid camel caps format
Open

    'action' => !empty($my_action) ? $my_action : 'reply',
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "current_forum_category" is not in valid camel caps format
Open

        'name' => $current_forum_category->getTitle(),
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_elements" is not in valid camel caps format
Open

$my_elements = isset($_SESSION['formelements']) ? $_SESSION['formelements'] : '';
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "_user" is not in valid camel caps format
Open

if (!$_user['user_id'] &&
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "group_properties" is not in valid camel caps format
Open

    $group_properties = GroupManager::get_group_properties($groupId);
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_action" is not in valid camel caps format
Open

    $my_action,
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

Variable "my_action" is not in valid camel caps format
Open

    'action' => !empty($my_action) ? $my_action : 'reply',
Severity: Minor
Found in public/main/forum/reply.php by phpcodesniffer

There are no issues that match your filters.

Category
Status