Skip to content

Commit ddc223d

Browse files
committed
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent c28ac25 commit ddc223d

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: php
22
php:
3-
- 7.1
43
- 7.2
54
- 7.3
5+
- 7.4snapshot
66

77
services:
88
- mysql
@@ -55,13 +55,13 @@ script:
5555

5656
matrix:
5757
include:
58-
- php: 7.1
58+
- php: 7.3
5959
env: DB=mysql
60-
- php: 7.1
60+
- php: 7.3
6161
env: DB=pgsql
62-
- php: 7.1
62+
- php: 7.3
6363
env: DB=mysql;CODECHECK=1
64-
- php: 7.1
64+
- php: 7.3
6565
env: DB=mysql;CODECHECK=2
6666
allow_failures:
6767
- env: DB=mysql;CODECHECK=2

tests/lib/BackgroundJob/RetentionJobTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class RetentionJobTest extends TestCase {
7272
/** @var int */
7373
private $timestampbase;
7474

75-
public function setUp() {
75+
protected function setUp(): void {
7676
parent::setUp();
7777

7878
$this->timestampbase = 1000000000;
@@ -99,7 +99,7 @@ public function setUp() {
9999
);
100100
}
101101

102-
public function tearDown() {
102+
protected function tearDown(): void {
103103
$qb = $this->db->getQueryBuilder();
104104
$qb->delete('retention');
105105
$qb->execute();

tests/lib/Contoller/APIControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class APIControllerTest extends \Test\TestCase {
5757
/** @var APIController */
5858
private $api;
5959

60-
public function setUp() {
60+
protected function setUp(): void {
6161
parent::setUp();
6262

6363
$this->request = $this->createMock(IRequest::class);
@@ -74,7 +74,7 @@ public function setUp() {
7474
);
7575
}
7676

77-
public function tearDown() {
77+
protected function tearDown(): void {
7878
$qb = $this->db->getQueryBuilder();
7979
$qb->delete('retention');
8080
$qb->execute();

tests/lib/EventListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class EventListenerTest extends \Test\TestCase {
4646
/** @var ISystemTagManager */
4747
private $tagManager;
4848

49-
public function setUp() {
49+
protected function setUp(): void {
5050
parent::setUp();
5151

5252
$this->db = \OC::$server->getDatabaseConnection();
@@ -57,7 +57,7 @@ public function setUp() {
5757
$app->registerEventListener();
5858
}
5959

60-
public function tearDown() {
60+
protected function tearDown(): void {
6161
// Clear retention DB
6262
$qb = $this->db->getQueryBuilder();
6363
$qb->delete('retention');

tests/lib/Settings/AdminTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AdminTest extends TestCase {
3030
/** @var Admin */
3131
private $admin;
3232

33-
public function setUp() {
33+
protected function setUp(): void {
3434
parent::setUp();
3535

3636
$this->admin = new Admin();

0 commit comments

Comments
 (0)