Skip to content

Commit

Permalink
Merge pull request #192 from greg0ire/php-8
Browse files Browse the repository at this point in the history
Allow PHP 8
  • Loading branch information
greg0ire committed Jun 2, 2020
2 parents 1c8596e + 15d07b9 commit 742200e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ php:
- 7.2
- 7.3
- 7.4
- nightly

cache:
directories:
Expand All @@ -32,6 +31,11 @@ jobs:
- php: nightly

include:
- stage: Test
php: nightly
before_install:
- composer config platform.php 7.4.99

- stage: Validate against schema
addons:
apt:
Expand All @@ -46,3 +50,9 @@ jobs:
- stage: Apply fixes
php: 7.4
script: make test-fix

- stage: Apply fixes
php: nightly
before_install:
- composer config platform.php 7.4.99
script: make test-fix
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{"name": "Steve Müller", "email": "st.mueller@dzh-online.de"}
],
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
"slevomat/coding-standard": "^6.3.8",
"squizlabs/php_codesniffer": "^3.5.5"
Expand Down

0 comments on commit 742200e

Please sign in to comment.