Skip to content

Commit

Permalink
Merge pull request #200 from andrew-nuwber/php8-support
Browse files Browse the repository at this point in the history
PHP 8 support
  • Loading branch information
SteveT committed Mar 15, 2021
2 parents dd4964a + 2d82413 commit eeb6ba9
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 2,776 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,4 +5,5 @@
test/output/
.idea
/composer.phar
composer.lock
test.php
6 changes: 2 additions & 4 deletions .travis.yml
@@ -1,18 +1,16 @@
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
install:
- composer install --no-interaction
script:
- mkdir -p test/output/report
- composer test
after_script:
- php vendor/bin/coveralls
- php vendor/bin/php-coveralls
notifications:
slack:
secure: mw6HF2KR0YwYcIaYvV6qjuWC+XSIP8SQOe13VwmGf3b783hMcZDZTUS9N4bIfpwYi74A9qmzKdc425OSu45nceAf7hzFusCY5rYMoLQK/ksJ7sd+ay7tWhPRuomG1w8idTyXtzce23zOfBtOCHQakbavH2Uz6mh5lJYPFlMKW4c=
13 changes: 6 additions & 7 deletions composer.json
Expand Up @@ -9,24 +9,23 @@
],
"minimum-stability": "stable",
"scripts": {
"test": "./vendor/bin/phpunit",
"test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit",
"fix-style": "php-cs-fixer fix ."
},
"require": {
"php": "^5.6 || ^7.0",
"php": "^7.1 || ^8.0",
"php-http/httplug": "^1.0 || ^2.0",
"php-http/message": "^1.0",
"php-http/client-implementation": "^1.0",
"php-http/discovery": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8 || ^5.4",
"phpunit/phpunit": "^8.0 || ^9.0",
"php-http/guzzle6-adapter": "^1.0",
"mockery/mockery": "^0.9.4",
"friendsofphp/php-cs-fixer": "^1.11",
"mockery/mockery": "^1.3",
"nyholm/nsa": "^1.0",
"satooshi/php-coveralls": "dev-master",
"phpunit/phpcov": "2.*"
"php-coveralls/php-coveralls": "^2.4",
"friendsofphp/php-cs-fixer": "^2.18"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit eeb6ba9

Please sign in to comment.