| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | private function getSourceFilePathNode(): ScalarNodeDefinition |
||
| 29 | { |
||
| 30 | $treeBuilder = new TreeBuilder('source_file_path', 'scalar'); |
||
| 31 | /** @var ScalarNodeDefinition $node */ |
||
| 32 | $node = $treeBuilder->getRootNode(); |
||
| 33 | Assert::isInstanceOf($node, ScalarNodeDefinition::class); |
||
| 34 | |||
| 35 | $node->isRequired()->cannotBeEmpty(); |
||
| 36 | |||
| 37 | return $node; |
||
| 38 | } |
||
| 40 |