Skip to content

Upgrade phpunit dependency to supported versions #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ cache:
- $HOME/.composer/cache

php:
- 5.5
- 5.6
- 7.0
- 7.1
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

## 2.7.0 (Unreleased)

### Removed

- Dropped support for php 5.5

###

- Phpunit 6 compatibility

## 2.6.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Uses [GitHub API v3](http://developer.github.com/v3/) & supports [GitHub API v4]

## Requirements

* PHP >= 5.5
* PHP >= 5.6
* [Guzzle](https://github.com/guzzle/guzzle) library,
* (optional) PHPUnit to run tests.

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "^5.5 || ^7.0",
"php": "^5.6 || ^7.0",
"psr/http-message": "^1.0",
"psr/cache": "^1.0",
"php-http/httplug": "^1.1",
Expand All @@ -27,7 +27,7 @@
"php-http/cache-plugin": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^4.0 || ^5.5",
"phpunit/phpunit": "^5.5 || ^6.0",
"php-http/guzzle6-adapter": "^1.0",
"php-http/mock-client": "^1.0",
"guzzlehttp/psr7": "^1.2",
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/Api/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Github\HttpClient\Builder;
use ReflectionMethod;

abstract class TestCase extends \PHPUnit_Framework_TestCase
abstract class TestCase extends \PHPUnit\Framework\TestCase
{
/**
* @return string
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Http\Client\HttpClient;
use Psr\Http\Message\RequestInterface;

class ClientTest extends \PHPUnit_Framework_TestCase
class ClientTest extends \PHPUnit\Framework\TestCase
{
/**
* @test
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/Functional/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class CacheTest extends \PHPUnit_Framework_TestCase
class CacheTest extends \PHPUnit\Framework\TestCase
{
/**
* @test
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/HttpClient/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class BuilderTest extends \PHPUnit_Framework_TestCase
class BuilderTest extends \PHPUnit\Framework\TestCase
{
/**
* @test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class ResponseMediatorTest extends \PHPUnit_Framework_TestCase
class ResponseMediatorTest extends \PHPUnit\Framework\TestCase
{
public function testGetContent()
{
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/Integration/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @group integration
*/
class TestCase extends \PHPUnit_Framework_TestCase
class TestCase extends \PHPUnit\Framework\TestCase
{
/**
* @var Client
Expand Down
2 changes: 1 addition & 1 deletion test/Github/Tests/ResultPagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author Mitchel Verschoof <mitchel@future500.nl>
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class ResultPagerTest extends \PHPUnit_Framework_TestCase
class ResultPagerTest extends \PHPUnit\Framework\TestCase
{
/**
* @test
Expand Down