Skip to content

Commit 67a580f

Browse files
committed
ci: add support for php 8.*
1 parent bfe5e8e commit 67a580f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php-versions: [ 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 ]
17+
php-versions: [ 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5 ]
1818
steps:
1919
- uses: actions/checkout@master
2020

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.3|^8.0|^8.1|^8.2|^8.2|^8.3"
14+
"php": "^7.3|>=8.0"
1515
},
1616
"require-dev": {
1717
"ext-json": "*",

src/Bencode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if (!function_exists('array_is_list')) {
66
/**
7-
* polyfill of array_key_last for PHP < 8.1.0
7+
* polyfill of array_is_list for PHP < 8.1.0
88
*
99
* @param array $array
1010
*/

0 commit comments

Comments
 (0)