Skip to content

Commit d4d898c

Browse files
authored
Use php >= 7.0 and 6.x.x version of PhpUnit
1 parent 5962a6d commit d4d898c

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: php
22
php:
3-
- 5.6
43
- 7.0
54
- 7.1
65
- hhvm

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.6.0",
15+
"php": ">=7.0.0",
1616
"predis/predis": "~1.1.1"
1717
},
1818
"bin": [
1919
"php-rq-run-tests"
2020
],
2121
"require-dev": {
22-
"phpunit/phpunit": "~4.4.0",
22+
"phpunit/phpunit": "~6.5.13",
2323
"mockery/mockery": "~0.9.4",
2424
"nette/finder": "~2.4"
2525
},

php-rq-run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ try {
3737

3838
\PhpRQ\PhpRQTest::$redis = $redis;
3939

40-
$phpUnit = new PHPUnit_TextUI_Command;
40+
$phpUnit = new \PHPUnit\TextUI\Command;
4141
$phpUnit->run([__FILE__, 'PhpRQ\PhpRQTest', __DIR__ . '/tests/PhpRQTest.php']);

tests/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Jakub Chábek <jakub.chabek@heureka.cz>
99
*/
10-
class BaseTest extends \PHPUnit_Framework_TestCase
10+
class BaseTest extends \PHPUnit\Framework\TestCase
1111
{
1212

1313
public function testDefaultOptionsWereSet()

tests/BaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @author Jakub Chábek <jakub.chabek@heureka.cz>
1515
*/
16-
abstract class BaseTestCase extends \PHPUnit_Framework_TestCase
16+
abstract class BaseTestCase extends \PHPUnit\Framework\TestCase
1717
{
1818

1919
/**

tests/PhpRQTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* @author Jakub Chábek <jakub.chabek@heureka.cz>
77
*/
8-
class PhpRQTest extends \PHPUnit_Framework_TestCase
8+
class PhpRQTest extends \PHPUnit\Framework\TestCase
99
{
1010

1111
/**

0 commit comments

Comments
 (0)