Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
13 / 13 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
| 5 | */ |
| 6 | |
| 7 | declare (strict_types=1); |
| 8 | |
| 9 | namespace pvc\parser\messages; |
| 10 | |
| 11 | return [ |
| 12 | 'not_boolean_loose' => 'Value is not a (loose) boolean: must be true/false, yes/no, 1/0, on/off', |
| 13 | 'not_boolean_one_zero' => 'Value must be either 1 or 0', |
| 14 | 'not_true_or_false' => 'Value must be either 1 or 0, {caseSensitive}', |
| 15 | 'csv_parser_failure' => 'csv parser unable to parse {filePath}', |
| 16 | 'not_javascript_datetime' => 'value is not a date time string in the standard javascript format', |
| 17 | 'not_short_date' => 'value is not a short date', |
| 18 | 'not_short_date_time' => 'value is not a short date / time', |
| 19 | 'not_integer' => 'value is not an integer', |
| 20 | 'not_decimal' => 'value is not a decimal number', |
| 21 | 'invalid_url' => 'string could not be parsed into a url', |
| 22 | 'invalid_querystring' => 'invalid querystring could not be processed', |
| 23 | ]; |