From cc85c607b90ae33f97f3630ede5477cc7fa29a99 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Thu, 15 Jun 2017 22:53:33 -0500 Subject: [PATCH] Upgrade to PHPUnit 6 --- composer.json | 3 ++- phpunit.xml.dist | 6 +++--- test/ProcessTest.php | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index f71f591..045d03d 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,8 @@ "amphp/byte-stream": "^1" }, "require-dev": { - "phpunit/phpunit": "^5.0", + "phpunit/phpunit": "^6", + "amphp/phpunit-util": "^1", "friendsofphp/php-cs-fixer": "^2.3", "kelunik/fqn-check": "^0.1.3" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f8593d0..4856517 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -22,7 +22,7 @@ lib - - - + + + diff --git a/test/ProcessTest.php b/test/ProcessTest.php index 4b4b33e..569fb51 100644 --- a/test/ProcessTest.php +++ b/test/ProcessTest.php @@ -4,8 +4,9 @@ namespace Amp\Test\Process; use Amp\Loop; use Amp\Process\Process; +use PHPUnit\Framework\TestCase; -class ProcessTest extends \PHPUnit_Framework_TestCase { +class ProcessTest extends TestCase { const CMD_PROCESS = 'echo foo'; /**