| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 15 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 18 | public function getArrayNodeDefinition(TreeBuilder $treeBuilder): ArrayNodeDefinition |
|
| 38 | { |
||
| 39 | /** @var ArrayNodeDefinition $rootNode */ |
||
| 40 | 18 | $rootNode = $treeBuilder->root(self::ROOT_KEY); |
|
| 41 | |||
| 42 | $rootNode |
||
| 43 | 18 | ->info("It is recommended to disable the original DrupalKernel substitution to run your tests.\nTo programmatically toggle it, use the two dedicated composer commands.") |
|
| 44 | 18 | ->canBeDisabled() |
|
| 45 | 18 | ->children() |
|
| 46 | 18 | ->scalarNode('composer_autoload_file_path') |
|
| 47 | 18 | ->cannotBeEmpty() |
|
| 48 | 18 | ->defaultValue('vendor/autoload.php') |
|
| 49 | 18 | ->end() |
|
| 50 | 18 | ->scalarNode('cache_directory_path') |
|
|
|
|||
| 51 | 18 | ->info('If not specified, it fall backs to the default cache directory path.') |
|
| 52 | 18 | ->defaultValue($this->defaultsConfiguration->getCacheDirectoryPath()) |
|
| 53 | 18 | ->end() |
|
| 54 | 18 | ->end(); |
|
| 55 | |||
| 56 | 18 | return $rootNode; |
|
| 57 | } |
||
| 59 |