We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class NullableException 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 nullable', |
||
22 | self::NAMED => '{{name}} must be nullable', |
||
23 | ], |
||
24 | self::MODE_NEGATIVE => [ |
||
25 | self::STANDARD => 'The value must not be null', |
||
26 | self::NAMED => '{{name}} must not be null', |
||
27 | ], |
||
28 | ]; |
||
29 | |||
30 | public function chooseTemplate() |
||
35 |