Skip to content

Commit 1bf4469

Browse files
committed
Drop support for PHP 7.0 and lower
1 parent e2ecf38 commit 1bf4469

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: php
22

33
php:
4-
- 5.6
5-
- 7.0
64
- 7.1
75
- 7.2
86
- 7.3

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"irc": "irc://irc.irchighway.net/fooldriver"
1313
},
1414
"require": {
15-
"php": "^5.6 || ^7.0"
15+
"php": "^5.6 || ^7 || ^8"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^5 || ^6 || ^7 || ^8 || ^9"

tests/SphinxQL/ConnectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ class ConnectionTest extends \PHPUnit\Framework\TestCase
1111
*/
1212
private $connection = null;
1313

14-
protected function setUp()
14+
protected function setUp(): void
1515
{
1616
$this->connection = TestUtil::getConnectionDriver();
1717
$this->connection->setParams(array('host' => '127.0.0.1', 'port' => 9307));
1818
}
1919

20-
protected function tearDown()
20+
protected function tearDown(): void
2121
{
2222
$this->connection = null;
2323
}

tests/SphinxQL/HelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class HelperTest extends \PHPUnit\Framework\TestCase
1212
*/
1313
public $conn;
1414

15-
protected function setUp()
15+
protected function setUp(): void
1616
{
1717
$conn = TestUtil::getConnectionDriver();
1818
$conn->setParam('port', 9307);

0 commit comments

Comments
 (0)