From 58ac6511667ce917485fc82ad9528e620a6e27a1 Mon Sep 17 00:00:00 2001 From: Paul Rotmann Date: Mon, 9 Dec 2024 10:19:17 +0100 Subject: [PATCH 1/2] Run tests on PHP 8.4 and update test environment --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb806fa..80b90c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,11 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: php: + - 8.4 - 8.3 - 8.2 - 8.1 From 11380b1118acb90e667baa2269224bb3c1d69b7d Mon Sep 17 00:00:00 2001 From: Paul Rotmann Date: Mon, 9 Dec 2024 11:20:18 +0100 Subject: [PATCH 2/2] Run tests on PHP 8.4 and update test environment --- composer.json | 82 +++++++++++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/composer.json b/composer.json index ef24590..055ced0 100644 --- a/composer.json +++ b/composer.json @@ -1,40 +1,44 @@ { - "name": "clue/docker-react", - "description": "Async, event-driven access to the Docker Engine API, built on top of ReactPHP.", - "keywords": ["Docker", "container", "ReactPHP", "async"], - "homepage": "https://github.com/clue/reactphp-docker", - "license": "MIT", - "authors": [ - { - "name": "Christian Lück", - "email": "christian@clue.engineering" - } - ], - "require": { - "php": ">=5.3", - "clue/json-stream": "^0.1", - "react/event-loop": "^1.2", - "react/http": "^1.11", - "react/promise": "^3.2 || ^2.11 || ^1.3", - "react/promise-stream": "^1.6", - "react/socket": "^1.16", - "react/stream": "^1.4", - "rize/uri-template": "^0.3" - }, - "require-dev": { - "clue/caret-notation": "^0.2", - "clue/tar-react": "^0.2", - "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", - "react/async": "^4.2 || ^3 || ^2" - }, - "autoload": { - "psr-4": { - "Clue\\React\\Docker\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Clue\\Tests\\React\\Docker\\": "tests/" - } - } -} + "name" : "clue/docker-react", + "description" : "Async, event-driven access to the Docker Engine API, built on top of ReactPHP.", + "keywords" : [ + "Docker", + "container", + "ReactPHP", + "async" + ], + "homepage" : "https://github.com/clue/reactphp-docker", + "license" : "MIT", + "authors" : [{ + "name" : "Christian Lück", + "email" : "christian@clue.engineering" + } + ], + "require" : { + "php" : ">=5.3", + "clue/json-stream" : "^0.1", + "react/event-loop" : "^1.2", + "react/http" : "^1.11", + "react/promise" : "^3.2 || ^2.11 || ^1.3", + "react/promise-stream" : "^1.6", + "react/socket" : "^1.16", + "react/stream" : "^1.4", + "rize/uri-template" : "^0.4" + }, + "require-dev" : { + "clue/caret-notation" : "^0.2", + "clue/tar-react" : "^0.2", + "phpunit/phpunit" : "^9.6 || ^5.7 || ^4.8.36", + "react/async" : "^4.2 || ^3 || ^2" + }, + "autoload" : { + "psr-4" : { + "Clue\\React\\Docker\\" : "src/" + } + }, + "autoload-dev" : { + "psr-4" : { + "Clue\\Tests\\React\\Docker\\" : "tests/" + } + } +} \ No newline at end of file