Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function genetateFromModel(Contract $data) |
||
20 | { |
||
21 | $file = $data->getContractFile(); |
||
22 | if (!$file) |
||
23 | $file = new File(); |
||
24 | |||
25 | $file->setFileType('text'); |
||
26 | $file->setExtension('html'); |
||
27 | $file->setContent($this->modelService->genetateFromModel($data)); |
||
28 | $this->manager->persist($file); |
||
29 | $this->manager->flush(); |
||
30 | |||
31 | return $data; |
||
32 | } |
||
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