We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | final class Base extends AbstractRule |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var int |
||
| 38 | */ |
||
| 39 | private $base; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Initializes the Base rule. |
||
| 43 | * |
||
| 44 | * @param int $base |
||
| 45 | * @param string $chars |
||
| 46 | */ |
||
| 47 | 1 | public function __construct(int $base, $chars = null) |
|
| 58 | 1 | } |
|
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | 24 | public function validate($input): bool |
|
| 70 |