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