| Total Complexity | 7 |
| Total Lines | 81 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class DataImportWriteStream implements WriteStreamInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \SprykerEco\Zed\AkeneoPimMiddlewareConnector\Dependency\Plugin\DataImporterPluginInterface |
||
| 18 | */ |
||
| 19 | protected $dataImporterPlugin; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $data = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \SprykerEco\Zed\AkeneoPimMiddlewareConnector\Dependency\Plugin\DataImporterPluginInterface $dataImporterPlugin |
||
| 28 | */ |
||
| 29 | public function __construct(DataImporterPluginInterface $dataImporterPlugin) |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function open(): bool |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | public function close(): bool |
||
| 48 | { |
||
| 49 | return true; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param int $offset |
||
| 54 | * @param int $whence |
||
| 55 | * |
||
| 56 | * @throws \SprykerMiddleware\Zed\Process\Business\Exception\MethodNotSupportedException |
||
| 57 | * |
||
| 58 | * @return int |
||
| 59 | */ |
||
| 60 | public function seek(int $offset, int $whence): int |
||
| 61 | { |
||
| 62 | throw new MethodNotSupportedException(); |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @throws \SprykerMiddleware\Zed\Process\Business\Exception\MethodNotSupportedException |
||
| 67 | * |
||
| 68 | * @return bool |
||
| 69 | */ |
||
| 70 | public function eof(): bool |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param array $data |
||
| 77 | * |
||
| 78 | * @return int |
||
| 79 | */ |
||
| 80 | public function write(array $data): int |
||
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return bool |
||
| 89 | */ |
||
| 90 | public function flush(): bool |
||
| 95 | } |
||
| 96 | } |
||
| 97 |
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