public/main/forum/viewthread.php
Variable "current_forum_category" is not in valid camel caps format Open
Open
if (($current_forum_category && 0 == $current_forum_category->getLocked()) &&
- Exclude checks
Variable "attachment_list" is not in valid camel caps format Open
Open
$id_attach = !empty($attachment_list) ? $attachment_list['iid'] : '';
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
($current_forum_category && 0 != $current_forum_category->getLocked()) ||
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
urlencode($my_search)
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
'forum/index.php?forumcategory='.$current_forum_category->getIid().'&search='.Security::remove_XSS(
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if ($_user['user_id'] || (1 == $forumEntity->getAllowAnonymous() && !$_user['user_id'])) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$_user = api_get_user_info();
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
if (($current_forum_category &&
- Exclude checks
Blank line found at start of control structure Open
Open
if ($_user['user_id'] || (1 == $forumEntity->getAllowAnonymous() && !$_user['user_id'])) {
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
if (!empty($group_id)) {
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
if (($current_forum_category && 0 == $current_forum_category->getLocked()) &&
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
if ($current_forum_category && 1 == $current_forum_category->getLocked()) {
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
$my_search = isset($_GET['search']) ? $_GET['search'] : '';
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
urlencode($my_search)
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'forum/viewforum.php?'.api_get_cidreq().'&forum='.$forumId.'&search='.Security::remove_XSS(urlencode($my_search)),
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
(1 == $forumEntity->getAllowNewThreads() && isset($_user['user_id'])) ||
- Exclude checks
Variable "my_action" is not in valid camel caps format Open
Open
switch ($my_action) {
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$groupEntity = api_get_group_entity($group_id);
- Exclude checks
Variable "current_qualify_thread" is not in valid camel caps format Open
Open
$current_qualify_thread = showQualify(
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
'name' => Security::remove_XSS($current_forum_category->getTitle()),
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
0 == $current_forum_category->getLocked()) &&
- Exclude checks
Variable "current_qualify_thread" is not in valid camel caps format Open
Open
."&idtextqualify=$current_qualify_thread"
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
if ($current_forum_category && 1 == $current_forum_category->getLocked()) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if ($_user['user_id'] || (1 == $forumEntity->getAllowAnonymous() && !$_user['user_id'])) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
if (!$_user['user_id'] && 0 == $forumEntity->getAllowAnonymous()) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
(1 == $forumEntity->getAllowNewThreads() && !isset($_user['user_id']) && 1 == $forumEntity->getAllowAnonymous())
- Exclude checks
Variable "my_action" is not in valid camel caps format Open
Open
'action' => !empty($my_action) ? $my_action : 'view-thread',
- Exclude checks
Variable "id_attach" is not in valid camel caps format Open
Open
$id_attach = !empty($attachment_list) ? $attachment_list['iid'] : '';
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
$my_search = null;
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
($current_forum_category && 0 != $current_forum_category->getLocked()) ||
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
$current_forum_category = $forumEntity->getForumCategory();
- Exclude checks
Variable "my_action" is not in valid camel caps format Open
Open
$my_action = $_GET['action'] ?? '';
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
urlencode($my_search)
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
),
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id = api_get_group_id();
- Exclude checks
Variable "show_forum" is not in valid camel caps format Open
Open
$show_forum = GroupManager::userHasAccess(
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$_user = api_get_user_info();
- Exclude checks
Variable "my_search" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'forum/viewforum.php?forum='.$forumId.'&'.api_get_cidreq().'&search='.Security::remove_XSS(urlencode($my_search)),
- Exclude checks
Variable "attachment_list" is not in valid camel caps format Open
Open
$id_attach = !empty($attachment_list) ? $attachment_list['iid'] : '';
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
(($current_forum_category && 0 == !$current_forum_category->isVisible($courseEntity)) || !$forumEntity->isVisible($courseEntity))
- Exclude checks
Variable "show_forum" is not in valid camel caps format Open
Open
if (!$show_forum) {
- Exclude checks
Variable "id_attach" is not in valid camel caps format Open
Open
$editUrl .= "&forum=$forumId&thread=$threadId&post={$post['post_id']}&id_attach=$id_attach";
- Exclude checks
Variable "my_action" is not in valid camel caps format Open
Open
'action' => !empty($my_action) ? $my_action : 'view-thread',
- Exclude checks
Variable "current_forum_category" is not in valid camel caps format Open
Open
(($current_forum_category && 0 == !$current_forum_category->isVisible($courseEntity)) || !$forumEntity->isVisible($courseEntity))
- Exclude checks
Variable "attachment_list" is not in valid camel caps format Open
Open
$attachment_list = get_attachment($post['post_id']);
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
urlencode($my_search)
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
),
- Exclude checks