| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Zip\Traits; |
||
| 41 | public function setPath(?string $path = null): ZipInterface { |
||
| 42 | |||
| 43 | if ( $path === null ) { |
||
| 44 | $this->path = null; |
||
| 45 | } else if ( !file_exists($path) ) { |
||
| 46 | throw new ZipException("Not existent path: $path"); |
||
| 47 | } else { |
||
| 48 | $this->path = $path; |
||
| 49 | } |
||
| 50 | |||
| 51 | return $this; |
||
| 52 | |||
| 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