| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Zip\Traits; |
||
| 24 | trait PathTrait { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Current base path |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $path; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Set current base path (to add relative files to zip archive) |
||
| 35 | * |
||
| 36 | * @param string|null $path |
||
| 37 | * |
||
| 38 | * @return Zip |
||
|
|
|||
| 39 | * @throws ZipException |
||
| 40 | */ |
||
| 41 | public function setPath(?string $path = null): ZipInterface { |
||
| 52 | |||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get current base path |
||
| 57 | * |
||
| 58 | * @return string|null |
||
| 59 | */ |
||
| 60 | public function getPath(): ?string { |
||
| 67 |
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