e107_handlers/xml_class.php
Reference to undeclared property \parseXml->parser
Open
Open
$this->parser = xml_parser_create('');
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> counterArray[$this -> current_tag] = 0;
- Exclude checks
Parameter $xml
has undeclared type \SimpleXMLElement
Open
Open
function xml2array($xml, $rec_parent = '')
- Exclude checks
Argument 1 (text)
is false
but \e_parse::replaceConstants()
takes string
defined at /code/e107_handlers/e_parse_class.php:3025
Open
Open
$path = e107::getParser()->replaceConstants($this->filePathDestination);
- Exclude checks
Argument 1 (XMLData)
is string
but \xmlClass::e107ImportPrefs()
takes array
defined at /code/e107_handlers/xml_class.php:1154
Open
Open
$pArray = $this->e107ImportPrefs($xmlArray,$type, 'plugin');
- Exclude checks
Call to undeclared function characterData
in callable Open
Open
xml_set_character_data_handler( $this->parser, 'characterData' );
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> current_tag = strtolower($element);
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'database',
but expected the index to be of type int
Open
Open
foreach($xmlArray['database']['dbTable'] as $val)
- Exclude checks
Reference to undeclared property \parseXml->xmlLegacyContents
Open
Open
$this->xmlLegacyContents = $data;
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> xmlData [$this -> current_tag] [$this -> counterArray[$this -> current_tag]] = $data;
- Exclude checks
Reference to undeclared property \parseXml->start_tag
Open
Open
if($this -> start_tag == $element)
- Exclude checks
Returning type false
but parseXml()
is declared to return array|string
Open
Open
return FALSE;
- Exclude checks
Call to method attributes
from undeclared class \SimpleXMLElement
Open
Open
$tmp = (array) $xml->attributes();
- Exclude checks
Returning type null
but e107Export()
is declared to return string
Open
Open
return null;
- Exclude checks
string
passed to foreach instead of array Open
Open
foreach($xmlArray['prefs'] as $type=>$array)
- Exclude checks
Reference to undeclared property \XMLParse->parser
(Did you mean expr->parsed) Open
Open
$this->parser = xml_parser_create();
- Exclude checks
Reference to undeclared property \parseXml->start_tag
Open
Open
$this -> start_tag = $element;
- Exclude checks
Assigning string
to property but \xmlClass->urlPrefix
is false
Open
Open
$this->urlPrefix = $url;
- Exclude checks
Assigning 'HTML cannot be parsed as XML'
to property but \xmlClass->errors
is null
Open
Open
$this->errors = "HTML cannot be parsed as XML";
- Exclude checks
Returning type array
but parseStringTags()
is declared to return string
Open
Open
return $vars;
- Exclude checks
Returning type false
but e107Export()
is declared to return string
Open
Open
return FALSE;
- Exclude checks
string
passed to foreach instead of array Open
Open
foreach($xmlArray['pluginPrefs'] as $type=>$array)
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
if (!xml_parse($this->parser, $data))
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
if(array_key_exists($this -> counterArray[$this -> current_tag], $this -> xmlData [$this -> current_tag]))
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> xmlData[$this -> current_tag][$this -> counterArray[$this -> current_tag]] = "";
- Exclude checks
Call to method getName
from undeclared class \SimpleXMLElement
Open
Open
return ($this->_optAddRoot ? array($xml->getName() => $ret) : $ret);
- Exclude checks
Returning type true
but e107Export()
is declared to return string
Open
Open
return true;
- Exclude checks
Reference to undeclared property \parseXml->xmlLegacyContents
Open
Open
if(!$this -> xmlLegacyContents)
- Exclude checks
Argument 1 (XMLData)
is string
but \xmlClass::e107ImportPrefs()
takes array
defined at /code/e107_handlers/xml_class.php:1154
Open
Open
$pArray = $this->e107ImportPrefs($xmlArray,$type, 'theme');
- Exclude checks
string
passed to foreach instead of array Open
Open
foreach($xmlArray['database']['dbTable'] as $val)
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
xml_set_character_data_handler( $this->parser, 'characterData' );
- Exclude checks
Reference to undeclared property \parseXml->xmlLegacyContents
Open
Open
$array = explode("\n", $this -> xmlLegacyContents);
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
xml_parser_free( $this->parser );
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
if(!array_key_exists($this -> current_tag, $this -> counterArray))
- Exclude checks
Reference to instance property comment
from undeclared class \SimpleXMLElement
Open
Open
$ret['comment'] = $xml->comment;
- Exclude checks
Call to undeclared method \e_object::save
Open
Open
e107::getConfig($type)
- Exclude checks
Reference to undeclared property \XMLParse->parser
(Did you mean expr->parsed) Open
Open
$parser = $this->parser;
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
xml_set_object($this->parser, $this);
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
xml_set_element_handler($this->parser, 'startElement', 'endElement');
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> counterArray[$this -> current_tag] ++;
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> xmlData [$this -> current_tag] = array();
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
$this -> xmlData [$this -> current_tag] [$this -> counterArray[$this -> current_tag]] .= $data;
- Exclude checks
Call to method attributes
from undeclared class \SimpleXMLElement
Open
Open
$tmp = (array) $xml->attributes();
- Exclude checks
Call to undeclared method \e_object::save
Open
Open
e107::getThemeConfig($type)
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'dbTable',
but expected the index to be of type int
Open
Open
foreach($xmlArray['database']['dbTable'] as $val)
- Exclude checks
Call to undeclared function endElement
in callable Open
Open
xml_set_element_handler($this->parser, 'startElement', 'endElement');
- Exclude checks
Reference to undeclared property \parseXml->current_tag
Open
Open
if(!array_key_exists($this -> current_tag, $this -> xmlData))
- Exclude checks
Returning type false
but parseXml()
is declared to return array|string
Open
Open
return false;
- Exclude checks
Argument 3 (fields)
is null
but \e_db::index()
takes array
defined at /code/e107_handlers/e_db_interface.php:277
Open
Open
if($pri = e107::getDb()->index($eTable, 'PRIMARY', null, true))
- Exclude checks
Call to undeclared method \e_object::save
Open
Open
e107::getPlugConfig($type)
- Exclude checks
Reference to undeclared property \XMLParse->status
Open
Open
$this->status = 'parsing complete';
- Exclude checks
Reference to undeclared property \parseXml->parser
Open
Open
$error = sprintf('XML error: %s at line %d, column %d', xml_error_string(xml_get_error_code($this->parser)), xml_get_current_line_number($this->parser),xml_get_current_column_number($this->parser));
- Exclude checks
Returning type null
but e107Import()
is declared to return array
Open
Open
return null;
- Exclude checks
Assigning array|false
to property but \xmlClass->errors
is null
Open
Open
$this->errors = $this->getErrors($xmlData);
- Exclude checks
Argument 1 (XMLData)
is string
but \xmlClass::e107ImportPrefs()
takes array
defined at /code/e107_handlers/xml_class.php:1154
Open
Open
$pArray = $this->e107ImportPrefs($xmlArray,$type);
- Exclude checks
Returning type false
but parseXml()
is declared to return array|string
Open
Open
return FALSE;
- Exclude checks
Suspicious type false
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
return $this->filePathDestination.$file;
- Exclude checks
Call to undeclared function startElement
in callable Open
Open
xml_set_element_handler($this->parser, 'startElement', 'endElement');
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'prefs',
but expected the index to be of type int
Open
Open
foreach($xmlArray['prefs'] as $type=>$array)
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'pluginPrefs',
but expected the index to be of type int
Open
Open
foreach($xmlArray['pluginPrefs'] as $type=>$array)
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'themePrefs',
but expected the index to be of type int
Open
Open
foreach($xmlArray['themePrefs'] as $type=>$array)
- Exclude checks
string
passed to foreach instead of array Open
Open
foreach($xmlArray['themePrefs'] as $type=>$array)
- Exclude checks