Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function addFile(People $people, string $content, string $context, string $fileName, string $fileType, string $extension): File |
||
24 | { |
||
25 | |||
26 | $file = new File(); |
||
27 | $file->setContext($context); |
||
28 | $file->setContent($content); |
||
29 | $file->setFileName($fileName); |
||
30 | $file->setFileType($fileType); |
||
31 | $file->setExtension($extension); |
||
32 | $file->setPeople($people); |
||
33 | $this->em->persist($file); |
||
34 | $this->em->flush(); |
||
35 | |||
36 | return $file; |
||
37 | } |
||
39 |
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