PHPUnit_Util_XML::prepareString

Escapes a string for the use in XML documents Any Unicode character is allowed, excluding the surrogate blocks, FFFE, and FFFF (not even as character reference).

See http://www.w3.org/TR/xml/#charsets

Signature

public function prepareString(string $string )

Parameters

$string — string

Returns

string

Violations

Checkstyle

Line Column Severity Message
76 62 error Only one argument is allowed per line in a multi-line function call
76 74 error Only one argument is allowed per line in a multi-line function call