@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | $shortopts = "v:p::t::"; |
| 8 | 8 | $longopts = array( |
| 9 | - "validator:", // Required value |
|
| 9 | + "validator:", // Required value |
|
| 10 | 10 | "namespace::", |
| 11 | 11 | "path::", |
| 12 | 12 | "test-path::" |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | $validator = $options['validator']; |
| 21 | 21 | $namespace = $options['namespace'] ?? 'Formularium\\Validator'; |
| 22 | -$path = $options['path'] ?? "Formularium/Validator/" ; |
|
| 23 | -$testpath = $options['testpath'] ?? "tests/Validator" ; |
|
| 22 | +$path = $options['path'] ?? "Formularium/Validator/"; |
|
| 23 | +$testpath = $options['testpath'] ?? "tests/Validator"; |
|
| 24 | 24 | |
| 25 | 25 | $code = ValidatorFactory::generate( |
| 26 | 26 | $validator, |