Skip to content

Commit cac96bf

Browse files
committed
Upgrade phpunit dependency to supported versions
1 parent cacf6f3 commit cac96bf

File tree

11 files changed

+20
-11
lines changed

11 files changed

+20
-11
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ cache:
66
- $HOME/.composer/cache
77

88
php:
9-
- 5.5
109
- 5.6
1110
- 7.0
1211
- 7.1

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

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

5+
## 2.7.0 (Unreleased)
6+
7+
### Removed
8+
9+
- Dropped support for php 5.5
10+
11+
###
12+
13+
- Phpunit 6 compatibility
14+
515
## 2.6.0
616

717
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Uses [GitHub API v3](http://developer.github.com/v3/) & supports [GitHub API v4]
2323

2424
## Requirements
2525

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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^5.5 || ^7.0",
20+
"php": "^5.6 || ^7.0",
2121
"psr/http-message": "^1.0",
2222
"psr/cache": "^1.0",
2323
"php-http/httplug": "^1.1",
@@ -27,7 +27,7 @@
2727
"php-http/cache-plugin": "^1.4"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^4.0 || ^5.5",
30+
"phpunit/phpunit": "^5.5 || ^6.0",
3131
"php-http/guzzle6-adapter": "^1.0",
3232
"php-http/mock-client": "^1.0",
3333
"guzzlehttp/psr7": "^1.2",

test/Github/Tests/Api/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Github\HttpClient\Builder;
66
use ReflectionMethod;
77

8-
abstract class TestCase extends \PHPUnit_Framework_TestCase
8+
abstract class TestCase extends \PHPUnit\Framework\TestCase
99
{
1010
/**
1111
* @return string

test/Github/Tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Http\Client\HttpClient;
1313
use Psr\Http\Message\RequestInterface;
1414

15-
class ClientTest extends \PHPUnit_Framework_TestCase
15+
class ClientTest extends \PHPUnit\Framework\TestCase
1616
{
1717
/**
1818
* @test

test/Github/Tests/Functional/CacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
1313
*/
14-
class CacheTest extends \PHPUnit_Framework_TestCase
14+
class CacheTest extends \PHPUnit\Framework\TestCase
1515
{
1616
/**
1717
* @test

test/Github/Tests/HttpClient/BuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
99
*/
10-
class BuilderTest extends \PHPUnit_Framework_TestCase
10+
class BuilderTest extends \PHPUnit\Framework\TestCase
1111
{
1212
/**
1313
* @test

test/Github/Tests/HttpClient/Message/ResponseMediatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
1010
*/
11-
class ResponseMediatorTest extends \PHPUnit_Framework_TestCase
11+
class ResponseMediatorTest extends \PHPUnit\Framework\TestCase
1212
{
1313
public function testGetContent()
1414
{

test/Github/Tests/Integration/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @group integration
1111
*/
12-
class TestCase extends \PHPUnit_Framework_TestCase
12+
class TestCase extends \PHPUnit\Framework\TestCase
1313
{
1414
/**
1515
* @var Client

test/Github/Tests/ResultPagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @author Mitchel Verschoof <mitchel@future500.nl>
1919
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
2020
*/
21-
class ResultPagerTest extends \PHPUnit_Framework_TestCase
21+
class ResultPagerTest extends \PHPUnit\Framework\TestCase
2222
{
2323
/**
2424
* @test

0 commit comments

Comments
 (0)