PHPUnit_Util_XML::xmlToVariable
"Convert" a DOMElement object into a PHP variable.
Signature
public function xmlToVariable(DOMElement
$element )
Parameters
$element
— DOMElement
Returns
- mixed
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
242 - 299 | CyclomaticComplexity | The method xmlToVariable() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
247 | 13 | error | CASE statements must not be defined using curly braces |
262 | 13 | error | CASE statements must not be defined using curly braces |
283 | 13 | error | CASE statements must not be defined using curly braces |
290 | 13 | error | CASE statements must not be defined using curly braces |