Skip to content

Commit 07e67c0

Browse files
committed
Make tests compatible with PHPUnit 8
1 parent 996ba1b commit 07e67c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"ext-mbstring": "May require the mbstring PHP extension"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "7.*|8.*|9.*"
30+
"phpunit/phpunit": "8.*"
3131
}
3232
}

tests/Text_LanguageDetectTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
class Text_LanguageDetectTest extends \PHPUnit\Framework\TestCase {
1616

17-
function setUp()
17+
function setUp(): void
1818
{
1919
$this->x = new Text_LanguageDetect();
2020
$this->xproxy = new PrivProxy($this->x);
2121
}
2222

23-
function tearDown ()
23+
function tearDown(): void
2424
{
2525
unset($this->x);
2626
}

0 commit comments

Comments
 (0)