Skip to content

Commit bb3bb3e

Browse files
committed
Run vendor phpunit
1 parent 2b5724c commit bb3bb3e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
sudo: false
22
language: php
33
php:
4-
- 5.6
54
- 7.2
65

76
notifications:
@@ -10,6 +9,6 @@ notifications:
109
install:
1110
- composer install --dev --no-interaction
1211
script:
13-
- phpunit --configuration Tests/phpunit.xml
12+
- ./vendor/bin/phpunit --configuration Tests/phpunit.xml
1413
after_script:
1514
- ./.codeclimate.sh

Tests/Tests.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
use PHPUnit\Framework\TestCase;
23
use xPaw\SourceQuery\BaseSocket;
34
use xPaw\SourceQuery\Exception\InvalidPacketException;
45
use xPaw\SourceQuery\SourceQuery;
@@ -61,7 +62,7 @@ public function Sherlock( $Buffer, $Length )
6162
}
6263
}
6364

64-
class SourceQueryTests extends PHPUnit_Framework_TestCase
65+
class SourceQueryTests extends TestCase
6566
{
6667
private $Socket;
6768
private $SourceQuery;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"require-dev":
3131
{
32-
"phpunit/phpunit": "4.8.*",
32+
"phpunit/phpunit": "^6.0",
3333
"codeclimate/php-test-reporter": "dev-master"
3434
},
3535
"autoload":

0 commit comments

Comments
 (0)