| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Zip\Traits; |
||
| 24 | trait ArchiveTrait { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * ZipArchive internal pointer |
||
| 28 | * |
||
| 29 | * @var ZipArchive |
||
| 30 | */ |
||
| 31 | private $zip_archive; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Set the current ZipArchive object |
||
| 35 | * |
||
| 36 | * @param ZipArchive $zip |
||
| 37 | * |
||
| 38 | * @return Zip |
||
|
|
|||
| 39 | */ |
||
| 40 | public function setArchive(ZipArchive $zip): ZipInterface { |
||
| 45 | |||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Get current ZipArchive object |
||
| 50 | * |
||
| 51 | * @return ZipArchive|null |
||
| 52 | */ |
||
| 53 | public function getArchive(): ?ZipArchive { |
||
| 60 |
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