Skip to content
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
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0

script: phpunit
script: php vendor/bin/phpunit

before_script:
- composer self-update
- composer install --prefer-source
- composer install -n --prefer-source
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"guzzle/guzzle": ">=3.7.0,<=3.9.9",
"guzzlehttp/guzzle": "~4",
"mockery/mockery": "0.9.2",
"phpunit/phpunit": "4.*",
"phpunit/phpunit": "^4.8",
"slim/slim": "2.*"
},
"autoload": {
Expand Down
4 changes: 3 additions & 1 deletion tests/QueryAuth/Credentials/CredentialsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth\Credentials;

class CredentialsTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class CredentialsTest extends TestCase
{
public function testCredentials()
{
Expand Down
4 changes: 3 additions & 1 deletion tests/QueryAuth/Exception/QueryAuthExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth\Exception;

class QueryAuthExceptionTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class QueryAuthExceptionTest extends TestCase
{
public function testDriftExceededException()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/QueryAuth/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

use QueryAuth\Factory;
use RandomLib\Factory as RandomFactory;
use PHPUnit\Framework\TestCase;

class FactoryTest extends \PHPUnit_Framework_TestCase
class FactoryTest extends TestCase
{
private $factory;

Expand Down
4 changes: 3 additions & 1 deletion tests/QueryAuth/KeyGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth;

class KeyGeneratorTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class KeyGeneratorTest extends TestCase
{
/**
* @var KeyGenerator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth\Request\Adapter\Incoming;

class SlimRequestAdapterTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class SlimRequestAdapterTest extends TestCase
{
protected $adapter;
protected $adaptee;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth\Request\Adapter\Outgoing;

class GuzzleHttpRequestAdapterTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class GuzzleHttpRequestAdapterTest extends TestCase
{
protected $adapter;
protected $adaptee;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace QueryAuth\Request\Adapter\Outgoing;

use Guzzle\Http\Message\RequestInterface as GuzzleRequestInterface;
use PHPUnit\Framework\TestCase;

class GuzzleRequestAdapterTest extends \PHPUnit_Framework_TestCase
class GuzzleRequestAdapterTest extends TestCase
{
protected $adapter;
protected $adaptee;
Expand Down
3 changes: 2 additions & 1 deletion tests/QueryAuth/Request/RequestSignerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
use QueryAuth\KeyGenerator;
use QueryAuth\Signature;
use RandomLib\Factory as RandomFactory;
use PHPUnit\Framework\TestCase;

class RequestSignerTest extends \PHPUnit_Framework_TestCase
class RequestSignerTest extends TestCase
{
protected function setUp()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/QueryAuth/Request/RequestValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

use QueryAuth\Credentials\Credentials;
use QueryAuth\Signature;
use PHPUnit\Framework\TestCase;

class RequestValidatorTest extends \PHPUnit_Framework_TestCase
class RequestValidatorTest extends TestCase
{
/**
* @var RequestValidator
Expand Down
4 changes: 3 additions & 1 deletion tests/QueryAuth/SignatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace QueryAuth;

class SignatureTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class SignatureTest extends TestCase
{
/**
* @var Signature
Expand Down