| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public static function fromModel(CompanyModel $companyModel): self |
||
| 34 | { |
||
| 35 | $contact = new Contact( |
||
| 36 | $companyModel->uuid(), |
||
| 37 | $companyModel->name(), |
||
| 38 | $companyModel->address(), |
||
| 39 | $companyModel->zipCode(), |
||
| 40 | $companyModel->town(), |
||
| 41 | $companyModel->country(), |
||
| 42 | $companyModel->phone(), |
||
| 43 | $companyModel->facsimile(), |
||
| 44 | $companyModel->email(), |
||
| 45 | $companyModel->contactName(), |
||
| 46 | $companyModel->cellphone(), |
||
| 47 | $companyModel->slug() |
||
| 48 | ); |
||
| 49 | |||
| 50 | return new self($contact); |
||
| 51 | } |
||
| 53 |
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