e107_handlers/e107_class.php
File e107_class.php
has 3520 lines of code (exceeds 2000 allowed). Consider refactoring. Open
Open
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2012 e107 Inc (e107.org)
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return $libraryHandler->info($library);
Avoid too many return
statements within this method. Open
Open
return $libraryHandler->load($library, $variant, $types);
Avoid too many return
statements within this method. Open
Open
return $ret;
Suspicious array access to nullable ?array
Open
Open
$host = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : $_SERVER['HTTP_HOST'];
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_HANDLER', $this->get_override_rel('HANDLERS'));
- Exclude checks
Argument 2 (mode)
is true
but \e_parse::replaceConstants()
takes string
defined at /code/e107_handlers/e_parse_class.php:3025
Open
Open
$location = e107::getParser()->replaceConstants($location, true);
- Exclude checks
Argument 1 (name)
is 'og:url'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
self::meta('og:url', $url);
- Exclude checks
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
self::meta('og:url', $url);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_DOWNLOAD', $this->get_override_rel('DOWNLOADS'));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'userclass_id',
but expected the index to be of type int
Open
Open
if(!$inclass && check_class($fp_class['userclass_id']))
- Exclude checks
Argument 3 (regpath)
is null
but \e107::getSingleton()
takes string
defined at /code/e107_handlers/e107_class.php:1130
Open
Open
return self::getSingleton('e107Email', true, null, $overrides);
- Exclude checks
Returning type null
but getAddon()
is declared to return object
Open
Open
return null;
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$v['alias'] = $obj->alias;
- Exclude checks
Returning type false
but includeLan()
is declared to return string
Open
Open
return false;
- Exclude checks
Returning type false
but url()
is declared to return string
Open
Open
return false;
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE_IMAGE', $this->get_override_rel('CACHE_IMAGE'));
- Exclude checks
Invalid offset "SYSTEM_DIRECTORY"
of array type array{}
Open
Open
if(strpos($this->e107_dirs['SYSTEM_DIRECTORY'],$this->site_path) === false)
- Exclude checks
Argument 1 (haystack)
is null
but \strpos()
takes string
Open
Open
if(strpos($this->e107_dirs['SYSTEM_DIRECTORY'],$this->site_path) === false)
- Exclude checks
Argument 2 (pluginName)
is string
but \e_parse_shortcode::getScObject()
takes null
defined at /code/e107_handlers/shortcode_handler.php:363
Open
Open
return self::getScParser()->getScObject($className.'_shortcodes', $pluginName, $overrideClass);
- Exclude checks
Returning type null
but getAddon()
is declared to return object
Open
Open
return null;
- Exclude checks
Argument 2 (default)
is false
but \e107::getRegistry()
takes null
defined at /code/e107_handlers/e107_class.php:865
Open
Open
return self::getRegistry('core/e107/route', false);
- Exclude checks
Returning type void
but schema()
is declared to return bool|string
Open
Open
return self::setRegistry('core/e107/schema',$json);
- Exclude checks
Call to method __construct
from undeclared class \MatthiasMullie\Minify\JS
Open
Open
$minifier = new MatthiasMullie\Minify\JS($js);
- Exclude checks
Variable $searchPath
was undeclared, but array fields are being added to it. Open
Open
$searchPath[1] = e_PLUGIN.$unitName.'/languages/'.$adminLan.'_admin_'.$unitName.'.php';
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_SYSTEM_BASE', $this->get_override_rel('SYSTEM_BASE'));
- Exclude checks
Argument 3 (index)
is null
but \e_plugin_pref::getPref()
takes int
defined at /code/e107_handlers/pref_class.php:102
Open
Open
return self::getPlugConfig($plug_name)->getPref($pref_name, $default, $index);
- Exclude checks
Returning type false
but includeLan()
is declared to return string
Open
Open
return false;
- Exclude checks
Argument 2 (default)
is false
but \e107::getRegistry()
takes null
defined at /code/e107_handlers/e107_class.php:865
Open
Open
return self::getRegistry('core/e107/schema', false);
- Exclude checks
Call to method minify
from undeclared class \MatthiasMullie\Minify\JS
Open
Open
$minified = $minifier->minify();
- Exclude checks
Argument 2 (value)
is 1
but \e107::ini_set()
takes string
defined at /code/e107_handlers/e107_class.php:5819
Open
Open
self::ini_set('session.cookie_httponly', 1); // cookie won't be accessible by scripting languages, such as JavaScript. Can effectively help to reduce identity theft through XSS attacks
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_TEMP', $this->get_override_rel('TEMP'));
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
$this->e107_dirs['CACHE_DIRECTORY'] = $this->e107_dirs['SYSTEM_DIRECTORY']."cache/"; // multisite support.
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_PLUGIN', $this->get_override_rel('PLUGINS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB_CSS', $this->get_override_rel('WEB_CSS'));
- Exclude checks
Argument 3 (index)
is null
but \e_core_pref::getPref()
takes int
defined at /code/e107_handlers/pref_class.php:102
Open
Open
$tprefs = self::getConfig()->getPref('sitetheme_pref'.$legacy_pref_name, $default, $index);
- Exclude checks
Returning type false
but _getTemplate()
is declared to return array|string
Open
Open
return ($ret && is_array($ret) && isset($ret[$key])) ? $ret[$key] : false;
- Exclude checks
Returning type string
but coreLan()
is declared to return bool|null
Open
Open
return self::includeLan($path);
- Exclude checks
Argument 2 (theme)
is null
but \e107::themeLan()
takes string
defined at /code/e107_handlers/e107_class.php:3923
Open
Open
$result = self::themeLan($fname, null, $options);
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param bool/string $val if null, return current value, otherwise define editor to use':
after bool,
did not see an element name (will guess based on comment order) Open
Open
* @param bool/string $val if null, return current value, otherwise define editor to use
- Exclude checks
Variable $subdomain
is undeclared Open
Open
define("e_SUBDOMAIN", ($subdomain) ?: false);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_FILE', $this->get_override_rel('FILES'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA', $this->get_override_rel('MEDIA'));
- Exclude checks
Argument 1 (haystack)
is null
but \strpos()
takes string
Open
Open
if(strpos($this->e107_dirs['MEDIA_DIRECTORY'],$this->site_path) === false)
- Exclude checks
Argument 1 (plug_name)
is null
but \e107::getTemplateInfo()
takes string
defined at /code/e107_handlers/e107_class.php:3545
Open
Open
$tmp_info = self::getTemplateInfo(null, $template_id, null, $where, $merge);
- Exclude checks
Variable $searchPath
was undeclared, but array fields are being added to it. Open
Open
$searchPath[1] = e_THEME.$unitName.'/languages/'.e_LANGUAGE.'_'.$unitName.'.php';
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CORE', $this->get_override_rel('CORE'));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'userclass_id',
but expected the index to be of type int
Open
Open
$location = $fpref[$fp_class['userclass_id']];
- Exclude checks
Invalid offset "CACHE_DIRECTORY"
of array type array{}
Open
Open
if(strpos($this->e107_dirs['CACHE_DIRECTORY'], $this->site_path) === false)
- Exclude checks
Argument 3 (index)
is null
but \e_core_pref::getPref()
takes int
defined at /code/e107_handlers/pref_class.php:102
Open
Open
return self::getConfig()->getPref($pref_name, $default, $index);
- Exclude checks
Argument 2 (value)
is 1
but \e107::ini_set()
takes string
defined at /code/e107_handlers/e107_class.php:5819
Open
Open
self::ini_set('session.use_only_cookies', 1);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_UPLOAD', $this->get_override_rel('UPLOADS'));
- Exclude checks
Argument 4 (override)
is string
but \e107::getTemplate()
takes bool|true
defined at /code/e107_handlers/e107_class.php:3403
Open
Open
$tmp = self::getTemplate($plugin_name, $id, null, $where, $merge);
- Exclude checks
Argument 1 (name)
is 'twitter:url'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
self::meta('twitter:url', $url);
- Exclude checks
Variable $searchPath
was undeclared, but array fields are being added to it. Open
Open
$searchPath[1] = e_PLUGIN.$unitName.'/languages/'.e_LANGUAGE.'_'.$unitName.'.php';
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE_CONTENT', $this->get_override_rel('CACHE_CONTENT'));
- Exclude checks
Invalid offset "MEDIA_DIRECTORY"
of array type array{}
Open
Open
if(strpos($this->e107_dirs['MEDIA_DIRECTORY'],$this->site_path) === false)
- Exclude checks
Argument 3 (regpath)
is null
but \e107::getSingleton()
takes string
defined at /code/e107_handlers/e107_class.php:1130
Open
Open
$ret = self::getSingleton('e_theme', true, null, array('themedir'=> $themedir, 'force'=> $clearCache));
- Exclude checks
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
self::meta('twitter:url', $url);
- Exclude checks
Returning type ''
but filter_request()
is declared to return bool|null
Open
Open
return '';
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_ADMIN', $this->get_override_rel('ADMIN'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_IMAGE', $this->get_override_rel('MEDIA_IMAGES'));
- Exclude checks
Argument 4 (override)
is string
but \e107::getTemplateInfo()
takes bool|true
defined at /code/e107_handlers/e107_class.php:3545
Open
Open
$tmp_info = self::getTemplateInfo($plugin_name, $id, null, $where, $merge);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_BACKUP', $this->get_override_rel('BACKUP'));
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$v['alias'] = $obj->alias;
- Exclude checks
Saw a token Phan may have failed to parse after '* @return array;':
after array,
saw ';'
Open
Open
* @return array;
- Exclude checks
Returning type string
but plugLan()
is declared to return bool|null
Open
Open
return $path;
- Exclude checks
Variable $searchPath
was undeclared, but array fields are being added to it. Open
Open
$searchPath[1] = e_PLUGIN.$unitName.'/languages/'.e_LANGUAGE.'_'.$type.'.php';
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_BASE', $this->relative_base_path);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB_IMAGE', $this->get_override_rel('WEB_IMAGES'));
- Exclude checks
Invalid offset "MEDIA_DIRECTORY"
of array type array{}
Open
Open
$this->e107_dirs['MEDIA_DIRECTORY'] .= $this->site_path."/"; // multisite support.
- Exclude checks
Argument 1 (haystack)
is null
but \strpos()
takes string
Open
Open
if(strpos($this->e107_dirs['CACHE_DIRECTORY'], $this->site_path) === false)
- Exclude checks
Invalid offset "SYSTEM_DIRECTORY"
of array type array{}
Open
Open
$this->e107_dirs['CACHE_DIRECTORY'] = $this->e107_dirs['SYSTEM_DIRECTORY']."cache/"; // multisite support.
- Exclude checks
@throws type of getHybridAuth
has undeclared type \Hybridauth\Exception\InvalidArgumentException
(Did you mean class \InvalidArgumentException) Open
Open
public static function getHybridAuth($config = null)
- Exclude checks
Argument 3 (key)
is null
but \e107::getTemplateInfo()
takes string
defined at /code/e107_handlers/e107_class.php:3545
Open
Open
$tmp_info = self::getTemplateInfo(null, $template_id, null, $where, $merge);
- Exclude checks
Returning type string
but themeLan()
is declared to return bool|null
Open
Open
return self::includeLan($path);
- Exclude checks
Saw a token Phan may have failed to parse after '* @param bool/string $val if null, return current value, otherwise define editor to use':
after bool,
saw '/'
Open
Open
* @param bool/string $val if null, return current value, otherwise define editor to use
- Exclude checks
Return type of getHybridAuth()
is undeclared type \Hybridauth\Hybridauth
Open
Open
public static function getHybridAuth($config = null)
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_THEME_ABS", $this->get_override_http('THEMES'));
- Exclude checks
Returning type null
but library()
is declared to return array|bool
Open
Open
return null;
- Exclude checks
Returning type null
but getAddon()
is declared to return object
Open
Open
return null;
- Exclude checks
Argument 2 (value)
is 0
but \e107::ini_set()
takes string
defined at /code/e107_handlers/e107_class.php:5819
Open
Open
self::ini_set('session.use_trans_sid', 0);
- Exclude checks
Invalid offset "e107_version"
of array type array{}
Open
Open
$curVersion = str_replace(' (git)', '', $e107info['e107_version']);
- Exclude checks
Invalid offset "SYSTEM_DIRECTORY"
of array type array{}
Open
Open
$this->e107_dirs['SYSTEM_DIRECTORY'] .= $this->site_path."/"; // multisite support.
- Exclude checks
Default value for string
$override
can't be false
Open
Open
public static function title($title, $override=false)
- Exclude checks
Argument 4 (override)
is string
but \e107::getTemplateInfo()
takes bool|true
defined at /code/e107_handlers/e107_class.php:3545
Open
Open
$tmp_info = self::getTemplateInfo(null, $template_id, null, $where, $merge);
- Exclude checks
Argument 3 (key)
is null
but \e107::getTemplateInfo()
takes string
defined at /code/e107_handlers/e107_class.php:3545
Open
Open
$tmp_info = self::getTemplateInfo($plugin_name, $id, null, $where, $merge);
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_FILE', $this->get_override_rel('MEDIA_FILES'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_SYSTEM', $this->get_override_rel('SYSTEM'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB_JS', $this->get_override_rel('WEB_JS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_FILE_ABS", $this->get_override_http('FILES')); // Deprecated!
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_JS_ABS', $this->get_override_http('WEB_JS'));
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$page = substr(strrchr($_SERVER['PHP_SELF'], '/'), 1);
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_MEDIA_ABS", $this->get_override_http('MEDIA'));
- Exclude checks
Variable $requestUri
is undeclared Open
Open
define('e_REQUEST_URI', str_replace(array("'", '"'), array('%27', '%22'), $requestUri)); // absolute http path + query string
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'url' => $xdata['core'][0]['@attributes']['url'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'date' => $xdata['core'][0]['@attributes']['date'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'date',
but expected the index to be of type int
Open
Open
'date' => $xdata['core'][0]['@attributes']['date'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'infourl',
but expected the index to be of type int
Open
Open
'infourl' => $xdata['core'][0]['@attributes']['infourl'],
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$eSelf = !empty($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_FILENAME'];
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'url',
but expected the index to be of type int
Open
Open
'url' => $xdata['core'][0]['@attributes']['url'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'version',
but expected the index to be of type int
Open
Open
$newVersion = $xdata['core'][0]['@attributes']['version'];
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_FILE_ABS', $this->get_override_http('MEDIA_FILES'));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
'infourl' => $xdata['core'][0]['@attributes']['infourl'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'description',
but expected the index to be of type int
Open
Open
'description' => $xdata['core'][0]['description'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE', $this->get_override_rel('CACHE'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_IMPORT', $this->get_override_rel('IMPORT'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_ICON', $this->get_override_rel('MEDIA_ICONS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_VIDEO_ABS', $this->get_override_http('MEDIA_VIDEOS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CSS_ABS', $this->get_override_http('WEB_CSS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE_IMAGE_ABS', $this->get_override_http('CACHE_IMAGE'));
- Exclude checks
Assigning null
to property but \e107::$_registry
is array|array<string></string>
Open
Open
self::$_registry = null;
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string theme|plugin':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string theme|plugin
- Exclude checks
Assigning null
to property but \e107::$_instance
is \e107
Open
Open
self::$_instance = null;
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'description' => $xdata['core'][0]['description'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE_URL', $this->get_override_rel('CACHE_URL'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_ICON_ABS', $this->get_override_http('MEDIA_ICONS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_AVATAR_DEFAULT', $this->get_override_rel('AVATARS_DEFAULT'));
- Exclude checks
Argument 3 (subject)
is null
but \str_replace()
takes array|string
Open
Open
$curVersion = str_replace(' (git)', '', $e107info['e107_version']);
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'version' => $xdata['core'][0]['@attributes']['version'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_VIDEO', $this->get_override_rel('MEDIA_VIDEOS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB', $this->get_override_rel('WEB'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_AVATAR', $this->get_override_rel('AVATARS'));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
if(empty($xdata['core'][0]['@attributes']['version']))
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'name',
but expected the index to be of type int
Open
Open
'name' => $xdata['core'][0]['@attributes']['name'],
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_IMAGE_ABS", $this->get_override_http('IMAGES'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB_ABS', $this->get_override_http('WEB'));
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
define('e_PAGE', basename($_SERVER['SCRIPT_FILENAME']));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
if(empty($xdata['core'][0]['@attributes']['version']))
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
'url' => $xdata['core'][0]['@attributes']['url'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_CACHE_DB', $this->get_override_rel('CACHE_DB'));
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_PLUGIN_ABS", $this->get_override_http('PLUGINS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_MEDIA_IMAGE_ABS', $this->get_override_http('MEDIA_IMAGES'));
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$_self = $this->HTTP_SCHEME.'://'.$_SERVER['HTTP_HOST'].$eSelf;
- Exclude checks
Invalid offset "e107_version"
of array type array{}
Open
Open
$e107 = $tp->filter($e107info['e107_version'], 'version');
- Exclude checks
Argument 1 (text)
is null
but \e_parse::filter()
takes array|string
defined at /code/e107_handlers/e_parse_class.php:5119
Open
Open
$e107 = $tp->filter($e107info['e107_version'], 'version');
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
'date' => $xdata['core'][0]['@attributes']['date'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
'version' => $xdata['core'][0]['@attributes']['version'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
$newVersion = $xdata['core'][0]['@attributes']['version'];
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'version',
but expected the index to be of type int
Open
Open
'version' => $xdata['core'][0]['@attributes']['version'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'infourl' => $xdata['core'][0]['@attributes']['infourl'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_LOG', $this->get_override_rel('LOGS'));
- Exclude checks
Variable $this
is undeclared Open
Open
define("e_ADMIN_ABS", $this->get_override_http('ADMIN'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_AVATAR_UPLOAD', $this->get_override_rel('AVATARS_UPLOAD'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_WEB_IMAGE_ABS', $this->get_override_http('WEB_IMAGES'));
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_AVATAR_ABS', $this->get_override_http('AVATARS'));
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type '\x40attributes',
but expected the index to be of type int
Open
Open
'name' => $xdata['core'][0]['@attributes']['name'],
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
$newVersion = $xdata['core'][0]['@attributes']['version'];
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'core',
but expected the index to be of type int
Open
Open
'name' => $xdata['core'][0]['@attributes']['name'],
- Exclude checks
Variable $this
is undeclared Open
Open
define('e_DOCS', $this->get_override_rel('HELP')); // WILL CHANGE SOON - $this->_get_override_rel('DOCS')
- Exclude checks