From 2e477293418531c6223a142b7324c1c9dcbe8547 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 23 Sep 2022 16:05:25 +0200 Subject: update to 4.0.0 raise dependency on PHP 8.1 --- composer.json | 9 ++++++--- php-react-async.spec | 22 ++++++++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 0be4bf5..8bdcd35 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "react/async", - "description": "Async utilities for ReactPHP", + "description": "Async utilities and fibers for ReactPHP", "keywords": ["async", "ReactPHP"], "license": "MIT", "authors": [ @@ -26,14 +26,17 @@ } ], "require": { - "php": ">=7.1", + "php": ">=8.1", "react/event-loop": "^1.2", "react/promise": "^3.0 || ^2.8 || ^1.2.1" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^7.5" + "phpunit/phpunit": "^9.3" }, "autoload": { + "psr-4": { + "React\\Async\\": "src/" + }, "files": [ "src/functions_include.php" ] diff --git a/php-react-async.spec b/php-react-async.spec index fe99883..0072ca7 100644 --- a/php-react-async.spec +++ b/php-react-async.spec @@ -10,8 +10,8 @@ %global github_owner reactphp %global github_name async -%global github_version 3.0.0 -%global github_commit 3c3b812be77aec14bf8300b052ba589c9a5bc95b +%global github_version 4.0.0 +%global github_commit 2aa8d89057e1059f59666e4204100636249b7be0 %global composer_vendor react %global composer_project async @@ -19,8 +19,8 @@ %global ns_vendor React %global ns_project Async -# "php": ">=7.1" -%global php_min_ver 7.1 +# "php": ">=8.1" +%global php_min_ver 8.1 # "react/event-loop": "^1.2", %global react_event_loop_min_ver 1.2 %global react_event_loop_max_ver 2 @@ -114,9 +114,11 @@ Autoloader: %{phpdir}/%{ns_vendor}/%{ns_project}/autoload.php %build : Create autoloader -cat <<'AUTOLOAD' | tee src/autoload.php - - 4.0.0-1 +- update to 4.0.0 +- raise dependency on PHP 8.1 + * Fri Sep 23 2022 Remi Collet - 3.0.0-1 - Initial package -- cgit