Skip to content

Commit c1123a7

Browse files
author
eldarQa
committed
Add PHP 8 support
1 parent d899229 commit c1123a7

File tree

7 files changed

+1190
-512
lines changed

7 files changed

+1190
-512
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/composer.phar
33
/vendor/
44
/phpunit.xml
5+
.phpunit.result.cache

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ cache:
77
- "$HOME/.composer/cache"
88

99
php:
10-
- 7.0
11-
- 7.1
10+
- 8.0
1211
- nightly
1312
- hhvm
1413

14+
1515
matrix:
1616
allow_failures:
1717
- php: nightly
@@ -30,7 +30,7 @@ install:
3030

3131
script:
3232
- composer check-code
33-
- if [ "$TRAVIS_PHP_VERSION" == "7.1" ]; then composer test-cov; else composer test; fi
33+
- if [ "$TRAVIS_PHP_VERSION" == "8.0" ]; then composer test-cov; else composer test; fi
3434

3535
after_script:
36-
- if [ "$TRAVIS_PHP_VERSION" == "7.1" ]; then composer test-cov-upload; fi
36+
- if [ "$TRAVIS_PHP_VERSION" == "8.0" ]; then composer test-cov-upload; fi

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
}
2525
],
2626
"require": {
27-
"php": "^7.0"
27+
"php": "^8.0"
2828
},
2929
"require-dev": {
3030
"jakub-onderka/php-parallel-lint": "^0.9.2",
31-
"phpunit/phpunit": "^6.3",
31+
"phpunit/phpunit": "^9.3.8",
3232
"squizlabs/php_codesniffer": "^3.0"
3333
},
3434
"autoload": {

0 commit comments

Comments
 (0)