Skip to content

Commit eeb6ba9

Browse files
author
SteveT
authored
Merge pull request #200 from andrew-nuwber/php8-support
PHP 8 support
2 parents dd4964a + 2d82413 commit eeb6ba9

File tree

9 files changed

+51
-2776
lines changed

9 files changed

+51
-2776
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
test/output/
66
.idea
77
/composer.phar
8+
composer.lock
89
test.php

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
language: php
22
php:
3-
- '5.6'
4-
- '7.0'
5-
- '7.1'
63
- '7.2'
74
- '7.3'
85
- '7.4'
6+
- '8.0'
97
install:
108
- composer install --no-interaction
119
script:
1210
- mkdir -p test/output/report
1311
- composer test
1412
after_script:
15-
- php vendor/bin/coveralls
13+
- php vendor/bin/php-coveralls
1614
notifications:
1715
slack:
1816
secure: mw6HF2KR0YwYcIaYvV6qjuWC+XSIP8SQOe13VwmGf3b783hMcZDZTUS9N4bIfpwYi74A9qmzKdc425OSu45nceAf7hzFusCY5rYMoLQK/ksJ7sd+ay7tWhPRuomG1w8idTyXtzce23zOfBtOCHQakbavH2Uz6mh5lJYPFlMKW4c=

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,23 @@
99
],
1010
"minimum-stability": "stable",
1111
"scripts": {
12-
"test": "./vendor/bin/phpunit",
12+
"test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit",
1313
"fix-style": "php-cs-fixer fix ."
1414
},
1515
"require": {
16-
"php": "^5.6 || ^7.0",
16+
"php": "^7.1 || ^8.0",
1717
"php-http/httplug": "^1.0 || ^2.0",
1818
"php-http/message": "^1.0",
1919
"php-http/client-implementation": "^1.0",
2020
"php-http/discovery": "^1.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^4.8 || ^5.4",
23+
"phpunit/phpunit": "^8.0 || ^9.0",
2424
"php-http/guzzle6-adapter": "^1.0",
25-
"mockery/mockery": "^0.9.4",
26-
"friendsofphp/php-cs-fixer": "^1.11",
25+
"mockery/mockery": "^1.3",
2726
"nyholm/nsa": "^1.0",
28-
"satooshi/php-coveralls": "dev-master",
29-
"phpunit/phpcov": "2.*"
27+
"php-coveralls/php-coveralls": "^2.4",
28+
"friendsofphp/php-cs-fixer": "^2.18"
3029
},
3130
"autoload": {
3231
"psr-4": {

0 commit comments

Comments
 (0)