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

Commit

Permalink
Add php-7.2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Oct 26, 2018
1 parent 40ca7aa commit 0a7a741
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php

php:
- 7.1
- 7.2

before_script:
- composer update --prefer-source --ignore-platform-reqs
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
}
],
"require": {
"php": "~7.0"
"php": "~7.1"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^7"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/DecodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace PSR7SessionEncodeDecodeTest;

use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use PSR7SessionEncodeDecode\Decoder;

/**
* @covers \PSR7SessionEncodeDecode\Decoder
*/
class DecodeTest extends PHPUnit_Framework_TestCase
class DecodeTest extends TestCase
{
/**
* @var Decoder
Expand Down
4 changes: 2 additions & 2 deletions test/unit/EncoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace PSR7SessionEncodeDecodeTest;

use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use PSR7SessionEncodeDecode\Encoder;

/**
* @covers \PSR7SessionEncodeDecode\Encoder
*/
class EncoderTest extends PHPUnit_Framework_TestCase
class EncoderTest extends TestCase
{
/**
* @var Encoder
Expand Down

0 comments on commit 0a7a741

Please sign in to comment.