Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | final class Math |
||
6 | { |
||
7 | private static $bigIntegerClass = ''; |
||
8 | |||
9 | /** |
||
10 | * Set the name of the class for new BigInteger instances |
||
11 | * |
||
12 | * @param string|null $className can be 'phpseclib3\Math\BigInteger' or 'phpseclib\Math\BigInteger'. If an empty string (or NULL) is passed, we'll detect it automatically |
||
13 | */ |
||
14 | public static function setBigIntegerClass($className) |
||
15 | { |
||
16 | self::$bigIntegerClass = (string) $className; |
||
17 | } |
||
18 | |||
19 | public static function getBigIntegerClass() |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param string|int|resource|\phpseclib3\Math\BigInteger\Engines\Engine $x |
||
|
|||
32 | * @param int $base |
||
33 | * |
||
34 | * @return \phpseclib\Math\BigInteger|\phpseclib3\Math\BigInteger |
||
35 | */ |
||
36 | public static function createBigInteger($x, $base = 10) |
||
43 |
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