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