| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | static function setUpDefinition(Definition $definition, $options) |
||
| 21 | { |
||
| 22 | $options->patchPath = Command\Option::create()->setType()->setIsUnnamed() |
||
| 23 | ->setDescription('Path to JSON patch file'); |
||
| 24 | $options->basePath = Command\Option::create()->setType()->setIsUnnamed() |
||
| 25 | ->setDescription('Path to JSON base file'); |
||
| 26 | $options->pretty = Command\Option::create() |
||
| 27 | ->setDescription('Pretty-print result JSON'); |
||
| 28 | $options->rearrangeArrays = Command\Option::create() |
||
| 29 | ->setDescription('Rearrange arrays to match original'); |
||
| 30 | $definition->description = 'Apply patch to base json document, output to STDOUT'; |
||
| 31 | |||
| 60 | } |