| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class FixtureFileUploader |
||
| 12 | { |
||
| 13 | private $fileUploader; |
||
| 14 | |||
| 15 | public function __construct( |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param AbstractFactory $factory |
||
| 23 | * @param array $data |
||
| 24 | * @param File $file |
||
| 25 | * @param string $field |
||
| 26 | * @return \Silverback\ApiComponentBundle\Entity\Component\FileInterface |
||
| 27 | * @throws \Exception |
||
| 28 | */ |
||
| 29 | public function upload(AbstractFactory $factory, array $data, File $file, string $field = 'filePath'): FileInterface |
||
| 55 |
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