From e12b9d2d63e2fd46dcbedfbe6efc26d13c824b64 Mon Sep 17 00:00:00 2001 From: Fenguoz <243944672@qq.com> Date: Thu, 9 Feb 2023 16:08:18 +0800 Subject: [PATCH] Support PHP8+ --- composer.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index d728f02..25ed2ee 100644 --- a/composer.json +++ b/composer.json @@ -17,12 +17,14 @@ } ], "require": { - "iexbase/tron-api": "^2.0 || ^3.0 || ^3.1", + "php": ">=8.0", + "fenguoz/web3.php": "^1.0", + "fenguoz/tron-api": "~1.1", "ionux/phactor": "1.0.8", - "kornrunner/keccak": "^1.0" + "kornrunner/keccak": "~1.0" }, "require-dev": { - "phpunit/phpunit": "^5.7 || ^7.5" + "phpunit/phpunit": "~7.5 || ~9.0" }, "autoload": { "psr-4": {