1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 16:49:42 +01:00

Tests/BigInteger: fix 8.2 deprecation errors

This commit is contained in:
terrafrost 2022-05-10 23:08:46 -05:00
parent 43c59198b8
commit 2e963c0002

View File

@ -19,9 +19,9 @@ class BigIntegerTest extends PhpseclibTestCase
{ {
eval(<<<ENGINE eval(<<<ENGINE
namespace phpseclib3\Math\BigInteger\Engines; namespace phpseclib3\Math\BigInteger\Engines;
class ${className} extends \phpseclib3\Math\BigInteger\Engines\Engine { class $className extends \phpseclib3\Math\BigInteger\Engines\Engine {
public function __construct(){} public function __construct(){}
public static function isValidEngine() { return ${isValid}; } public static function isValidEngine() { return $isValid; }
public static function setModExpEngine(\$engine){} public static function setModExpEngine(\$engine){}
public function toString() { return __CLASS__; } public function toString() { return __CLASS__; }
} }