We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
14 | class OptionalException extends ValidationException |
||
15 | { |
||
16 | const STANDARD = 0; |
||
17 | const NAMED = 1; |
||
18 | |||
19 | public static $defaultTemplates = [ |
||
20 | self::MODE_DEFAULT => [ |
||
21 | self::STANDARD => 'The value must be optional', |
||
22 | self::NAMED => '{{name}} must be optional', |
||
23 | ], |
||
24 | self::MODE_NEGATIVE => [ |
||
25 | self::STANDARD => 'The value must not be optional', |
||
26 | self::NAMED => '{{name}} must not be optional', |
||
27 | ], |
||
28 | ]; |
||
29 | |||
30 | 2 | public function chooseTemplate() |
|
34 | } |
||
35 |