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 | 22 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | final class NullableException extends ValidationException  | 
            ||
| 20 | { | 
            ||
| 21 | public const STANDARD = 0;  | 
            ||
| 22 | public const NAMED = 1;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 |      * {@inheritdoc} | 
            ||
| 26 | */  | 
            ||
| 27 | public static $defaultTemplates = [  | 
            ||
| 28 | self::MODE_DEFAULT => [  | 
            ||
| 29 | self::STANDARD => 'The value must be nullable',  | 
            ||
| 30 |             self::NAMED => '{{name}} must be nullable', | 
            ||
| 31 | ],  | 
            ||
| 32 | self::MODE_NEGATIVE => [  | 
            ||
| 33 | self::STANDARD => 'The value must not be null',  | 
            ||
| 34 |             self::NAMED => '{{name}} must not be null', | 
            ||
| 35 | ],  | 
            ||
| 36 | ];  | 
            ||
| 37 | |||
| 38 | public function chooseTemplate()  | 
            ||
| 43 |