Skip to content

Commit 742200e

Browse files
authored
Merge pull request #192 from greg0ire/php-8
Allow PHP 8
2 parents 1c8596e + 15d07b9 commit 742200e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.travis.yml

+11-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{"name": "Steve Müller", "email": "[email protected]"}
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)