| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function run( |
||
| 37 | LocaleTransfer $localeTransfer, |
||
| 38 | BatchResultTransfer $batchResultTransfer, |
||
| 39 | FileWriterInterface $dataWriter, |
||
| 40 | OutputInterface $output |
||
| 41 | ): void { |
||
| 42 | $csvDir = $this->getConfig()->getFileExportPath(); |
||
| 43 | if (!is_dir($csvDir)) { |
||
| 44 | mkdir($csvDir); |
||
| 45 | } |
||
| 46 | $dataWriter->setFolderPath($csvDir); |
||
| 47 | $this->getFacade() |
||
| 48 | ->exportProducts( |
||
| 49 | $localeTransfer, |
||
| 50 | $batchResultTransfer, |
||
| 51 | $dataWriter, |
||
| 52 | $output |
||
| 53 | ); |
||
| 56 |
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