We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 4 | class IpException extends ValidationException |
||
| 5 | { |
||
| 6 | const STANDARD = 0; |
||
| 7 | const NETWORK_RANGE = 1; |
||
| 8 | |||
| 9 | public static $defaultTemplates = array( |
||
| 10 | self::MODE_DEFAULT => array( |
||
| 11 | self::STANDARD => '{{name}} must be an IP address', |
||
| 12 | self::NETWORK_RANGE => '{{name}} must be an IP address in the {{range}} range', |
||
| 13 | ), |
||
| 14 | self::MODE_NEGATIVE => array( |
||
| 15 | self::STANDARD => '{{name}} must not be an IP address', |
||
| 16 | self::NETWORK_RANGE => '{{name}} must not be an IP address in the {{range}} range', |
||
| 17 | ), |
||
| 18 | ); |
||
| 19 | |||
| 20 | 14 | public function configure($name, array $params = array()) |
|
| 37 | |||
| 38 | 14 | public function chooseTemplate() |
|
| 46 | } |
||
| 47 |