Skip to content

Commit edc331b

Browse files
committed
Allow PHP 8.x use.
1 parent 0930f19 commit edc331b

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-18.04
1212
strategy:
1313
matrix:
14-
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4']
14+
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ php:
44
- 7.1
55
- 7.2
66
- 7.3
7+
- 7.4
8+
- 8.0
9+
- 8.1
710
- nightly
811
env:
912
- PREFER_LOWEST="--prefer-lowest --prefer-stable"

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Collection of classes to assist with units of time.",
44
"license": "MIT",
55
"require": {
6-
"php": "^7.0"
6+
"php": "^7.0 || ^8.0"
77
},
88
"require-dev": {
9-
"chadicus/coding-standard": "^1.7",
9+
"chadicus/coding-standard": "^1.7 || ^2.0",
1010
"php-coveralls/php-coveralls": "^2.1",
11-
"phpunit/phpunit": "^6.5"
11+
"phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
1212
},
1313
"config" : {
1414
"sort-packages": true

0 commit comments

Comments
 (0)