Conditions | 5 |
Paths | 3 |
Total Lines | 22 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public static function get() : \Aimeos\Bootstrap |
||
29 | { |
||
30 | if (self::$aimeos === null) { |
||
31 | $extDirs = []; |
||
32 | |||
33 | // Extension directories |
||
34 | if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['extDirs'])) { |
||
35 | ksort($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['extDirs']); |
||
36 | |||
37 | foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['extDirs'] as $dir) { |
||
38 | $absPath = \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($dir); |
||
|
|||
39 | |||
40 | if (!empty($absPath)) { |
||
41 | $extDirs[] = $absPath; |
||
42 | } |
||
43 | } |
||
44 | } |
||
45 | |||
46 | self::$aimeos = new \Aimeos\Bootstrap($extDirs, false); |
||
47 | } |
||
48 | |||
49 | return self::$aimeos; |
||
50 | } |
||
52 |
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