Total Complexity | 1 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | trait QuotedStringMimeLiteralPartTokenSplitPatternTrait |
||
18 | { |
||
19 | /** |
||
20 | * Overridden to use a specialized regex for finding mime-encoded parts |
||
21 | * (RFC 2047). |
||
22 | * |
||
23 | * Some implementations seem to place mime-encoded parts within quoted |
||
24 | * parameters, and split the mime-encoded parts across multiple split |
||
25 | * parameters. The specialized regex doesn't allow double quotes inside a |
||
26 | * mime encoded part, so it can be "continued" in another parameter. |
||
27 | * |
||
28 | * @return string the regex pattern |
||
29 | */ |
||
30 | protected function getTokenSplitPattern() : string |
||
37 |