| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SignedMessage extends Message |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Returns a string containing the entire body of a signed message for |
||
| 14 | * verification. |
||
| 15 | * |
||
| 16 | * @return string or null if the message doesn't have any children, or the |
||
| 17 | * child returns null for getHandle |
||
| 18 | */ |
||
| 19 | public function getSignedMessageAsString() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns the signature part of a multipart/signed message or null. |
||
| 35 | * |
||
| 36 | * The signature part is determined to always be the 2nd child of a |
||
| 37 | * multipart/signed message, the first being the 'body'. |
||
| 38 | * |
||
| 39 | * Using the 'protocol' parameter of the Content-Type header is unreliable |
||
| 40 | * in some instances (for instance a difference of x-pgp-signature versus |
||
| 41 | * pgp-signature). |
||
| 42 | * |
||
| 43 | * @return MimePart |
||
|
|
|||
| 44 | */ |
||
| 45 | public function getSignaturePart() |
||
| 56 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths