| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class InvalidPasswordException extends Exception implements SkrillException |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @return InvalidPasswordException |
||
| 17 | */ |
||
| 18 | public static function invalidMinLength(): self |
||
| 19 | { |
||
| 20 | return new self( |
||
| 21 | sprintf('Skrill API/MQI password is too short. It should have %d characters or more.', Password::MIN_LENGTH) |
||
| 22 | ); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return InvalidPasswordException |
||
| 27 | */ |
||
| 28 | public static function missingLetters(): self |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return InvalidPasswordException |
||
| 35 | */ |
||
| 36 | public static function missingNonAlphabetic(): self |
||
| 41 |