| Conditions | 7 |
| Paths | 10 |
| Total Lines | 27 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public static function get(array $paths, array $local = []) : \Aimeos\Base\Config\Iface |
||
| 31 | { |
||
| 32 | if (self::$config === null) { |
||
| 33 | // Using extension config directories |
||
| 34 | if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['confDirs'])) { |
||
| 35 | ksort($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['confDirs']); |
||
| 36 | foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['confDirs'] as $dir) { |
||
| 37 | if (($absPath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($dir)) !== '') { |
||
|
|
|||
| 38 | $paths[] = $absPath; |
||
| 39 | } |
||
| 40 | } |
||
| 41 | } |
||
| 42 | |||
| 43 | $conf = new \Aimeos\Base\Config\PHPArray([], $paths); |
||
| 44 | |||
| 45 | if ((bool) \Aimeos\Aimeos\Base::getExtConfig('useAPC', false) === true) { |
||
| 46 | $conf = new \Aimeos\Base\Config\Decorator\APC($conf, \Aimeos\Aimeos\Base::getExtConfig('apcPrefix', 't3:')); |
||
| 47 | } |
||
| 48 | |||
| 49 | self::$config = $conf; |
||
| 50 | } |
||
| 51 | |||
| 52 | if (isset($local['typo3']['tsconfig'])) { |
||
| 53 | $local = array_replace_recursive($local, \Aimeos\Aimeos\Base::parseTS($local['typo3']['tsconfig'])); |
||
| 54 | } |
||
| 55 | |||
| 56 | return new \Aimeos\Base\Config\Decorator\Memory(self::$config, $local); |
||
| 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