Skip to content

Commit

Permalink
ci: add support for php 8.*
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Feb 4, 2025
1 parent bfe5e8e commit 67a580f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 ]
php-versions: [ 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5 ]
steps:
- uses: actions/checkout@master

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "^7.3|^8.0|^8.1|^8.2|^8.2|^8.3"
"php": "^7.3|>=8.0"
},
"require-dev": {
"ext-json": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Bencode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

if (!function_exists('array_is_list')) {
/**
* polyfill of array_key_last for PHP < 8.1.0
* polyfill of array_is_list for PHP < 8.1.0
*
* @param array $array
*/
Expand Down

0 comments on commit 67a580f

Please sign in to comment.