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 AlphaException extends ValidationException |
||
| 5 | { |
||
| 6 | const EXTRA = 1; |
||
| 7 | |||
| 8 | public static $defaultTemplates = array( |
||
| 9 | self::MODE_DEFAULT => array( |
||
| 10 | self::STANDARD => '{{name}} must contain only letters (a-z)', |
||
| 11 | self::EXTRA => '{{name}} must contain only letters (a-z) and "{{additionalChars}}"', |
||
| 12 | ), |
||
| 13 | self::MODE_NEGATIVE => array( |
||
| 14 | self::STANDARD => '{{name}} must not contain letters (a-z)', |
||
| 15 | self::EXTRA => '{{name}} must not contain letters (a-z) or "{{additionalChars}}"', |
||
| 16 | ), |
||
| 17 | ); |
||
| 18 | |||
| 19 | 82 | public function chooseTemplate() |
|
| 23 | } |
||
| 24 |