Skip to content

Commit 91fc13c

Browse files
authored
Merge pull request #5 from chrisryan/master
Allow PHP 8.x use.
2 parents 0930f19 + c181d25 commit 91fc13c

4 files changed

Lines changed: 12 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

.scrutinizer.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ filter:
44
before_commands:
55
- 'composer install --prefer-source'
66
build:
7+
nodes:
8+
analysis:
9+
tests:
10+
override:
11+
- php-scrutinizer-run
712
tests:
813
override:
914
- phpcs-run --standard=./vendor/chadicus/coding-standard/Chadicus/ruleset.xml

.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)