Skip to content

Commit 7aa6fd3

Browse files
authored
Merge pull request #34 from PiPHP/php-7.3
Define PHP 7.3 as required. Upgrade to PHPUnit 9
2 parents b794281 + 01c2c0a commit 7aa6fd3

File tree

6 files changed

+12
-14
lines changed

6 files changed

+12
-14
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
"PiPHP\\Test\\GPIO\\": "test/"
2020
}
2121
},
22+
"require": {
23+
"php": "^7.3"
24+
},
2225
"require-dev": {
23-
"phpunit/phpunit": "^5.7"
26+
"phpunit/phpunit": "^9.3"
2427
},
2528
"scripts": {
2629
"test": [

phpunit.xml.dist

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@
55
<directory>test</directory>
66
</testsuite>
77
</testsuites>
8-
<filter>
9-
<whitelist>
10-
<directory>src</directory>
11-
</whitelist>
12-
<blacklist>
13-
<directory>vendor</directory>
14-
<directory>test</directory>
15-
</blacklist>
16-
</filter>
178
</phpunit>

test/FileSystem/FileSystemTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
namespace PiPHP\Test\GPIO\FileSystem;
44

5+
use PHPUnit\Framework\TestCase;
56
use PiPHP\GPIO\FileSystem\FileSystem;
67
use RuntimeException;
78

8-
class FileSystemTest extends \PHPUnit_Framework_TestCase
9+
class FileSystemTest extends TestCase
910
{
1011
public function testFileSystem()
1112
{

test/Interrupt/InterruptWatcherTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
namespace PiPHP\Test\GPIO;
44

5+
use PHPUnit\Framework\TestCase;
56
use PiPHP\GPIO\GPIO;
67
use PiPHP\GPIO\FileSystem\FileSystemInterface;
78

8-
class InterruptWatcherTest extends \PHPUnit_Framework_TestCase
9+
class InterruptWatcherTest extends TestCase
910
{
1011
public function testWatcher()
1112
{

test/Pin/InputPinTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
namespace PiPHP\Test\GPIO\Pin;
44

5+
use PHPUnit\Framework\TestCase;
56
use PiPHP\GPIO\GPIO;
67
use PiPHP\Test\GPIO\FileSystem\VFS;
78

8-
class InputPinTest extends \PHPUnit_Framework_TestCase
9+
class InputPinTest extends TestCase
910
{
1011
public function testInputPin()
1112
{

test/Pin/OutputPinTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
namespace PiPHP\Test\GPIO\Pin;
44

5+
use PHPUnit\Framework\TestCase;
56
use PiPHP\GPIO\GPIO;
67
use PiPHP\Test\GPIO\FileSystem\VFS;
78

8-
class OutputPinTest extends \PHPUnit_Framework_TestCase
9+
class OutputPinTest extends TestCase
910
{
1011
public function testOutputPin()
1112
{

0 commit comments

Comments
 (0)