Skip to content

Commit

Permalink
Add PHP 8.4 support (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored Dec 17, 2024
1 parent 4fe9681 commit 1dcf32d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 1dcf32d

Please sign in to comment.