Skip to content

Commit 15d07b9

Browse files
committed
Allow PHP 8
We want to allow our users to experiment and report bugs if there are any.
1 parent 1c8596e commit 15d07b9

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ php:
66
- 7.2
77
- 7.3
88
- 7.4
9-
- nightly
109

1110
cache:
1211
directories:
@@ -32,6 +31,11 @@ jobs:
3231
- php: nightly
3332

3433
include:
34+
- stage: Test
35+
php: nightly
36+
before_install:
37+
- composer config platform.php 7.4.99
38+
3539
- stage: Validate against schema
3640
addons:
3741
apt:
@@ -46,3 +50,9 @@ jobs:
4650
- stage: Apply fixes
4751
php: 7.4
4852
script: make test-fix
53+
54+
- stage: Apply fixes
55+
php: nightly
56+
before_install:
57+
- composer config platform.php 7.4.99
58+
script: make test-fix

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{"name": "Steve Müller", "email": "st.mueller@dzh-online.de"}
2222
],
2323
"require": {
24-
"php": "^7.2",
24+
"php": "^7.2 || ^8.0",
2525
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
2626
"slevomat/coding-standard": "^6.3.8",
2727
"squizlabs/php_codesniffer": "^3.5.5"

0 commit comments

Comments
 (0)