Skip to content

Commit

Permalink
Merge pull request #14 from NicolasNSSM/add-more-recent-travis-tests
Browse files Browse the repository at this point in the history
Add PHP7.1 tests to travis
  • Loading branch information
nicolasmure authored Oct 29, 2017
2 parents 2be2a2e + 67a2720 commit 1492c23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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:
- '5.4'
- '7.0'
- '7.1'

before_install:
- mkdir -p build/logs
Expand Down
3 changes: 2 additions & 1 deletion tests/Nmure/Encryptor/Tests/EncryptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Nmure\Encryptor\Tests;

use Nmure\Encryptor\Encryptor;
use PHPUnit\Framework\TestCase;

class EncryptorTest extends \PHPUnit_Framework_TestCase
class EncryptorTest extends TestCase
{
/**
* 128bit secret hex key generated using the following UNIX command
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

use Nmure\Encryptor\Encryptor;
use Nmure\Encryptor\Formatter\FormatterInterface;
use PHPUnit\Framework\TestCase;

/**
* Class asserting that a FormatterInterface fulfills the minimum
* requirements of what it should accomplish.
* The formatter test classes should extend this class.
*/
abstract class AbstractFormatterTest extends \PHPUnit_Framework_TestCase
abstract class AbstractFormatterTest extends TestCase
{
protected $iv;
protected $data = 'data';
Expand Down

0 comments on commit 1492c23

Please sign in to comment.