File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,14 @@ matrix:
28
28
before_install :
29
29
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
30
30
- composer self-update
31
+ - composer require 'phpunit/phpunit:^4.8.35|^5.4.3|^6.0' --dev --no-update
31
32
32
33
install :
33
34
- if [ "$PACKAGES" != "" ]; then composer require --no-update $PACKAGES; fi
34
35
- composer update $COMPOSER_OPTIONS
35
36
36
37
script :
37
38
- vendor/bin/phpspec run
38
- - if [[ "$xdebug" = "yes" ]]; then phpunit --coverage-clover=coverage.clover; else phpunit; fi
39
+ - if [[ "$xdebug" = "yes" ]]; then vendor/bin/ phpunit --coverage-clover=coverage.clover; else vendor/bin/ phpunit; fi
39
40
- if [[ "$xdebug" = "yes" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
40
41
- if [[ "$xdebug" = "yes" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
Original file line number Diff line number Diff line change 11
11
12
12
namespace Xabbuh \XApi \Client \Tests \Api ;
13
13
14
+ use PHPUnit \Framework \TestCase ;
14
15
use Symfony \Component \Serializer \SerializerInterface ;
15
16
use Xabbuh \XApi \Client \Request \HandlerInterface ;
16
17
use Xabbuh \XApi \Common \Exception \NotFoundException ;
23
24
/**
24
25
* @author Christian Flothmann <[email protected] >
25
26
*/
26
- abstract class ApiClientTest extends \PHPUnit_Framework_TestCase
27
+ abstract class ApiClientTest extends TestCase
27
28
{
28
29
/**
29
30
* @var HandlerInterface|\PHPUnit_Framework_MockObject_MockObject
You can’t perform that action at this time.
0 commit comments