diff --git a/.travis.yml b/.travis.yml index 7be5d36a..8c87534d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: php php: - - 7.1 - 7.2 - 7.3 + - 7.4snapshot services: - mysql - postgresql @@ -56,13 +56,13 @@ script: matrix: include: - - php: 7.1 + - php: 7.3 env: DB=mysql - - php: 7.1 + - php: 7.3 env: DB=pgsql - - php: 7.1 + - php: 7.3 env: DB=mysql;CODECHECK=1 - - php: 7.1 + - php: 7.3 env: DB=mysql;CODECHECK=2 allow_failures: - env: DB=mysql;CODECHECK=2 diff --git a/tests/lib/SessionStatisticsTest.php b/tests/lib/SessionStatisticsTest.php index 5bd23811..bde82e15 100644 --- a/tests/lib/SessionStatisticsTest.php +++ b/tests/lib/SessionStatisticsTest.php @@ -55,7 +55,7 @@ class SessionStatisticsTest extends TestCase { private $currentTime = 100000; - public function setUp() { + protected function setUp(): void { parent::setUp(); $this->timeFactory = $this->getMockBuilder('OCP\AppFramework\Utility\ITimeFactory')