From 1dcf32db8a0ae24c0a4c138e274b8c3663811656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Tue, 17 Dec 2024 02:35:42 +0100 Subject: [PATCH] Add PHP 8.4 support (#58) --- .github/workflows/test-unit.yml | 4 ++-- README.md | 2 +- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index c7f4b1c7..f1919d09 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -64,13 +64,13 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.0', '8.1', '8.2', '8.3'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] type: ['Phpunit', 'Phpunit Lowest'] include: - php: 'latest' type: 'Phpunit Burn' env: - LOG_COVERAGE: "${{ fromJSON('{true: \"1\", false: \"\"}')[matrix.php == '8.3' && matrix.type == 'Phpunit' && (github.event_name == 'pull_request' || (github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')))] }}" + LOG_COVERAGE: "${{ fromJSON('{true: \"1\", false: \"\"}')[matrix.php == '8.4' && matrix.type == 'Phpunit' && (github.event_name == 'pull_request' || (github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')))] }}" services: mysql: image: mysql diff --git a/README.md b/README.md index d8f0d085..4c615963 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ php-lock/lock follows [semantic versioning][1]. ## Requirements - - PHP 7.4 - 8.3 + - PHP 7.4 - 8.4 - Optionally [nrk/predis][2] to use the Predis locks. - Optionally the [php-pcntl][3] extension to enable locking with `flock()` without busy waiting in CLI scripts. diff --git a/composer.json b/composer.json index ad455efd..e5850eeb 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ ], "homepage": "https://github.com/malkusch/lock", "require": { - "php": ">=7.4 <8.4", + "php": ">=7.4 <8.5", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/polyfill-php80": "^1.28" },