From 840df81b54431b655641fb93deca67012d2ec29f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 6 Sep 2015 14:28:00 +0200 Subject: php-phpseclib: import temp spec from fedora review --- ...nclude-statement-from-BigInteger-TestCase.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 php-phpseclib-Remove-include-statement-from-BigInteger-TestCase.patch (limited to 'php-phpseclib-Remove-include-statement-from-BigInteger-TestCase.patch') diff --git a/php-phpseclib-Remove-include-statement-from-BigInteger-TestCase.patch b/php-phpseclib-Remove-include-statement-from-BigInteger-TestCase.patch new file mode 100644 index 0000000..329bc6c --- /dev/null +++ b/php-phpseclib-Remove-include-statement-from-BigInteger-TestCase.patch @@ -0,0 +1,30 @@ +From 785b37b50578bd9135c917977c496fdbdeb25fd7 Mon Sep 17 00:00:00 2001 +From: Andreas Fischer +Date: Thu, 13 Aug 2015 15:12:20 -0400 +Subject: [PATCH] Remove include statement from BigInteger TestCase. + +This was previously required to load MATH_BIGINTEGER_MODE_* constants, but +these are autoloadable via \phpseclib\Math\BigInteger::MODE_* now and the +include path was removed. +--- + tests/Unit/Math/BigInteger/TestCase.php | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/tests/Unit/Math/BigInteger/TestCase.php b/tests/Unit/Math/BigInteger/TestCase.php +index e417b05..0b236d2 100644 +--- a/tests/Unit/Math/BigInteger/TestCase.php ++++ b/tests/Unit/Math/BigInteger/TestCase.php +@@ -9,10 +9,7 @@ abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase + { + public static function setUpBeforeClass() + { +- include_once 'Math/BigInteger.php'; +- + parent::setUpBeforeClass(); +- + self::reRequireFile('Math/BigInteger.php'); + } + +-- +2.4.3 + -- cgit