Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 3.8204 |
Changes | 0 |
1 | <?php |
||
44 | 3 | public static function legacyClassLoading() |
|
45 | { |
||
46 | 3 | if (!\class_exists(\Symfony\Component\Yaml\Yaml::class)) { |
|
47 | $yamlComponentPath = ExtensionManagementUtility::extPath('importr', 'Resources/Private/Php/Yaml/'); |
||
48 | include_once $yamlComponentPath . 'Yaml.php'; |
||
49 | include_once $yamlComponentPath . 'Parser.php'; |
||
50 | include_once $yamlComponentPath . 'Inline.php'; |
||
51 | include_once $yamlComponentPath . 'Dumper.php'; |
||
52 | include_once $yamlComponentPath . 'Escaper.php'; |
||
53 | include_once $yamlComponentPath . 'Unescaper.php'; |
||
54 | include_once $yamlComponentPath . 'Exception/ExceptionInterface.php'; |
||
55 | include_once $yamlComponentPath . 'Exception/ParseException.php'; |
||
56 | include_once $yamlComponentPath . 'Exception/DumpException.php'; |
||
57 | } |
||
58 | 3 | } |
|
59 | } |
||
60 |