Skip to content

Commit 9d4b36b

Browse files
committed
PHP 8 support
1 parent dd4964a commit 9d4b36b

File tree

9 files changed

+3743
-1089
lines changed

9 files changed

+3743
-1089
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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
language: php
22
php:
3-
- '5.6'
4-
- '7.0'
53
- '7.1'
64
- '7.2'
75
- '7.3'
86
- '7.4'
7+
- '8.0
98
install:
109
- composer install --no-interaction
1110
script:
1211
- mkdir -p test/output/report
1312
- composer test
1413
after_script:
15-
- php vendor/bin/coveralls
14+
- php vendor/bin/php-coveralls
1615
notifications:
1716
slack:
1817
secure: mw6HF2KR0YwYcIaYvV6qjuWC+XSIP8SQOe13VwmGf3b783hMcZDZTUS9N4bIfpwYi74A9qmzKdc425OSu45nceAf7hzFusCY5rYMoLQK/ksJ7sd+ay7tWhPRuomG1w8idTyXtzce23zOfBtOCHQakbavH2Uz6mh5lJYPFlMKW4c=

composer.json

Lines changed: 7 additions & 8 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",
13-
"fix-style": "php-cs-fixer fix ."
12+
"test": "./vendor/bin/phpunit"
1413
},
1514
"require": {
16-
"php": "^5.6 || ^7.0",
15+
"php": "^7.1 || ^8.0",
1716
"php-http/httplug": "^1.0 || ^2.0",
1817
"php-http/message": "^1.0",
1918
"php-http/client-implementation": "^1.0",
2019
"php-http/discovery": "^1.0"
2120
},
2221
"require-dev": {
23-
"phpunit/phpunit": "^4.8 || ^5.4",
22+
"phpunit/phpunit": "^9.0",
2423
"php-http/guzzle6-adapter": "^1.0",
25-
"mockery/mockery": "^0.9.4",
26-
"friendsofphp/php-cs-fixer": "^1.11",
24+
"mockery/mockery": "^1.4",
2725
"nyholm/nsa": "^1.0",
28-
"satooshi/php-coveralls": "dev-master",
29-
"phpunit/phpcov": "2.*"
26+
"php-coveralls/php-coveralls": "^2.4",
27+
"phpunit/phpcov": "^8.0",
28+
"friendsofphp/php-cs-fixer": "^2.18"
3029
},
3130
"autoload": {
3231
"psr-4": {

0 commit comments

Comments
 (0)