Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | abstract class Crockford |
||
17 | { |
||
18 | /** |
||
19 | * Convert a number to crockford base32 encoding. |
||
20 | * |
||
21 | * @param int|string $number The number to convert |
||
22 | * @param BaseInterface|int|string $base The base of $number |
||
23 | * @param bool $checksum Include a checksum |
||
24 | */ |
||
25 | 16 | final public static function encode($number, $base, bool $checksum = false): string |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Convert a number from crockford base32 encoding. |
||
32 | * |
||
33 | * @param int|string $number The crockford number to convert |
||
34 | * @param BaseInterface|int|string $base The base to covert $number |
||
35 | * @param bool $checksum Include a checksum |
||
36 | */ |
||
37 | 51 | final public static function decode($number, $base, bool $checksum = false): string |
|
42 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths