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 MethodException extends NestedValidationException |
||
15 | { |
||
16 | const NOT_PRESENT = 0; |
||
17 | const INVALID = 1; |
||
18 | public static $defaultTemplates = [ |
||
19 | self::MODE_DEFAULT => [ |
||
20 | self::NOT_PRESENT => 'Method {{name}} must be present', |
||
21 | self::INVALID => 'Method {{name}} must be valid', |
||
22 | ], |
||
23 | self::MODE_NEGATIVE => [ |
||
24 | self::NOT_PRESENT => 'Method {{name}} must not be present', |
||
25 | self::INVALID => 'Method {{name}} must not validate', |
||
26 | ], |
||
27 | ]; |
||
28 | |||
29 | 4 | public function chooseTemplate() |
|
33 | } |
||
34 |