Skip to content

Commit 66b991c

Browse files
authored
Merge pull request #87 from MidnightDesign/php-8.0
Allow PHP 8 in composer.json, run in CI
2 parents a5e0ba6 + 8a0e884 commit 66b991c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 7.2
55
- 7.3
66
- 7.4
7+
- nightly
78
before_install:
89
- phpenv config-rm xdebug.ini || true
910

@@ -42,3 +43,11 @@ jobs:
4243
env: DEPS="dev"
4344
- php: 7.4
4445
env: DEPS="dev"
46+
- php: nightly
47+
env: DEPS="low"
48+
- php: nightly
49+
env: DEPS="high"
50+
- php: nightly
51+
env: DEPS="stable"
52+
- php: nightly
53+
env: DEPS="dev"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"sort-packages": true
1515
},
1616
"require": {
17-
"php": "^7.1.3",
17+
"php": "^7.1.3 || ^8.0",
1818
"ext-simplexml": "*",
1919
"composer/semver": "^1.4 || ^2.0 || ^3.0",
2020
"composer/package-versions-deprecated": "^1.10",

0 commit comments

Comments
 (0)