Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class AttachmentManager |
||
11 | { |
||
12 | /** |
||
13 | * Builds a Swift_Attachment object with management of filename. |
||
14 | * |
||
15 | * @param string $attachmentPath |
||
16 | * @param string|int $name If integer, will be ignored. |
||
17 | * @return Swift_Attachment |
||
18 | */ |
||
19 | public static function buildSwift(string $attachmentPath, $name) |
||
29 |
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