Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | 1 | static function setUpDefinition(Definition $definition, $options) |
|
21 | { |
||
22 | 1 | $options->path = Option::create()->setType()->setIsUnnamed() |
|
23 | 1 | ->setDescription('Path to JSON/YAML file'); |
|
24 | 1 | $options->pointer = Option::create()->setType()->setIsUnnamed() |
|
25 | 1 | ->setDescription('JSON Pointer, example /key4/1/a'); |
|
26 | 1 | } |
|
43 | } |