Skip to content

Commit beaa8d4

Browse files
committed
feature #79 add compatibility with PHP 8 (xabbuh)
This PR was merged into the 3.x branch. Discussion ---------- add compatibility with PHP 8 Commits ------- 9a8f9a5 add compatibility with PHP 8
2 parents 1ed71ff + 9a8f9a5 commit beaa8d4

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
composer-options: '--prefer-lowest --prefer-stable'
2020
- php-version: '7.3'
2121
composer-options: '--prefer-stable'
22+
- php-version: '7.4'
23+
composer-options: '--prefer-stable'
24+
- php-version: '8.0'
25+
composer-options: '--prefer-stable'
2226

2327
steps:
2428
- name: 'Check out'

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
3.2.0
5+
-----
6+
7+
* Added support for PHP 8.
8+
49
3.1.0
510
-----
611

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.1",
15+
"php": "^7.1 || ^8.0",
1616
"php-xapi/exception": "~0.1",
1717
"ramsey/uuid": "^2.9 || ^3.0"
1818
},
1919
"require-dev": {
20-
"phpspec/phpspec": "~2.3"
20+
"phpspec/phpspec": "^5.0 || ^6.0 || ^7.0"
2121
},
2222
"conflict": {
2323
"xabbuh/xapi-model": "*"

0 commit comments

Comments
 (0)