Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 30cc728

Browse files
committed
Add php-7.2 test
1 parent 40ca7aa commit 30cc728

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: php
22

33
php:
44
- 7.1
5+
- 7.2
56

67
before_script:
78
- composer update --prefer-source --ignore-platform-reqs

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~7.0"
13+
"php": "~7.1"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "^5.7"
16+
"phpunit/phpunit": "^6.5"
1717
},
1818
"autoload": {
1919
"psr-4": {

test/unit/DecodeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace PSR7SessionEncodeDecodeTest;
66

7-
use PHPUnit_Framework_TestCase;
7+
use PHPUnit\Framework\TestCase;
88
use PSR7SessionEncodeDecode\Decoder;
99

1010
/**
1111
* @covers \PSR7SessionEncodeDecode\Decoder
1212
*/
13-
class DecodeTest extends PHPUnit_Framework_TestCase
13+
class DecodeTest extends TestCase
1414
{
1515
/**
1616
* @var Decoder

test/unit/EncoderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace PSR7SessionEncodeDecodeTest;
66

7-
use PHPUnit_Framework_TestCase;
7+
use PHPUnit\Framework\TestCase;
88
use PSR7SessionEncodeDecode\Encoder;
99

1010
/**
1111
* @covers \PSR7SessionEncodeDecode\Encoder
1212
*/
13-
class EncoderTest extends PHPUnit_Framework_TestCase
13+
class EncoderTest extends TestCase
1414
{
1515
/**
1616
* @var Encoder

0 commit comments

Comments
 (0)