| Conditions | 5 |
| Paths | 9 |
| Total Lines | 25 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 32 | public function factory( |
||
| 33 | \Zend_Cache_Core $cache, |
||
| 34 | Connection $db = null, |
||
| 35 | $config = [], |
||
| 36 | ShopwareReleaseStruct $release |
||
| 37 | ) { |
||
| 38 | if (!$db) { |
||
| 39 | return null; |
||
| 40 | } |
||
| 41 | |||
| 42 | if (!isset($config['cache'])) { |
||
| 43 | $config['cache'] = $cache; |
||
| 44 | } |
||
| 45 | |||
| 46 | $config['db'] = $db; |
||
| 47 | |||
| 48 | if ($release) { |
||
| 49 | $config['release'] = $release; |
||
| 50 | } |
||
| 51 | |||
| 52 | if ($this->customConfig) { |
||
| 53 | $config['custom'] = $this->customConfig; |
||
| 54 | } |
||
| 55 | |||
| 56 | return new Config($config, $this->shopProvider->getDefaultShopId()); |
||
| 57 | } |
||
| 59 |
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