e107_plugins/forum/forum_viewforum.php
Returning type null
but init()
is declared to return array
Open
Open
return null;
- Exclude checks
Suspicious array access to nullable ?array{thread_options:array{}}|?array{thread_options:mixed}|?mixed
Open
Open
if($thread_info['thread_sticky'])
- Exclude checks
Suspicious array access to nullable ?array<string>|?array<string>|?mixed</string></string>
Open
Open
$threadId = $thread_info['thread_id'];
- Exclude checks
Saw an @param annotation for urlparms,
but the param list of function init() : array
is empty Open
Open
* @param $urlparms
- Exclude checks
Saw an @param annotation for doNothing,
but the param list of function init() : array
is empty Open
Open
* @param $doNothing
- Exclude checks
Returning type null
but init()
is declared to return array
Open
Open
return null;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
define('MODERATOR', (USER && in_array(USERID, $moderatorUserIds) || getperms('0')));
- Exclude checks
Argument 4 (filter)
is ?string
but \e107forum::forumGetThreads()
takes null
defined at /code/e107_plugins/forum/forum_class.php:2045
Open
Open
$threadList = $forum->forumGetThreads($forumId, $threadFrom, $view, $threadFilter);
- Exclude checks
Unused variable Open
Open
$doNothing; // do nothing.
- Exclude checks
Suspicious array access to nullable ?array<string>|?array<string>|?mixed</string></string>
Open
Open
switch($thread_info['thread_sticky'])
- Exclude checks
Argument 3 (row)
is null
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('forum', 'index', null, ['mode' => 'full']);
- Exclude checks
Saw an @param annotation for FORUM_VIEW_START,
but the param list of function init() : array
is empty Open
Open
* @param $FORUM_VIEW_START
- Exclude checks
Returning type null
but init()
is declared to return array
Open
Open
return null;
- Exclude checks
Argument 3 (row)
is null
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('forum', 'index', null, ['mode' => 'full']);
- Exclude checks
Suspicious array access to nullable ?array{thread_options:array{}}|?array{thread_options:mixed}|?mixed
Open
Open
if(!$thread_info['thread_sticky'])
- Exclude checks
Call to deprecated function \e_parse::text_truncate()
defined at /code/e107_handlers/e_parse_class.php:1286
Open
Open
define("META_DESCRIPTION", $tp->text_truncate(
- Exclude checks