From 8157281c8b6e5fd960f12911c300d52183d26da6 Mon Sep 17 00:00:00 2001 From: Robert Brodie Date: Thu, 15 Jun 2023 14:22:24 -0400 Subject: [PATCH] SP-602 Make GMP optional --- composer.json | 6 ++++-- test/unit/BitPayKeyUtils/Storage/test1.txt | 2 +- test/unit/BitPayKeyUtils/Storage/test11.txt | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 2348d4b..c2c98c0 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,12 @@ "ext-openssl": "*", "ext-curl": "*", "ext-json": "*", - "ext-iconv": "*", - "ext-gmp": "*" + "ext-iconv": "*" }, "require-dev": { "phpunit/phpunit": "^7.5 || ^9.0" + }, + "suggest": { + "ext-gmp": "Required to use this package with GMP instead of BCMath" } } diff --git a/test/unit/BitPayKeyUtils/Storage/test1.txt b/test/unit/BitPayKeyUtils/Storage/test1.txt index 6b6e7b3..46f07be 100755 --- a/test/unit/BitPayKeyUtils/Storage/test1.txt +++ b/test/unit/BitPayKeyUtils/Storage/test1.txt @@ -1 +1 @@ -O:17:"Mock_Key_7dd5a46d":0:{} \ No newline at end of file +O:17:"Mock_Key_c1e4b2bf":0:{} \ No newline at end of file diff --git a/test/unit/BitPayKeyUtils/Storage/test11.txt b/test/unit/BitPayKeyUtils/Storage/test11.txt index 4068866..92c1ed0 100644 --- a/test/unit/BitPayKeyUtils/Storage/test11.txt +++ b/test/unit/BitPayKeyUtils/Storage/test11.txt @@ -1 +1 @@ -c31eda5dd0eb0a1f93800db68d1ae0fd60daae108ae31cc034711b4a0e7bcebe \ No newline at end of file +a2c2ae8c5cd35cc02dfeef6309593cfe0ddcd995e6de235a033c889bc2c23299 \ No newline at end of file