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

Add php-7.2 test #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 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