PHPMailer::encodeHeader
Encode a header string optimally.
Picks shortest of Q, B, quoted-printable or none.
Signature
public function encodeHeader(string
$str,
[string
$position = 'text'] )
Parameters
$str
— string$position
— string
Returns
- string
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
2753 - 2811 | CyclomaticComplexity | The method encodeHeader() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. |