diff --git a/.travis.yml b/.travis.yml index 22600fb..d8d4e6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ sudo: required dist: trusty language: php php: - - 7.1 - 7.2 - 7.3 + - 7.4snapshot env: global: - CORE_BRANCH=master @@ -16,13 +16,13 @@ matrix: allow_failures: - env: DB=sqlite;CODECHECK=2 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=sqlite;CODECHECK=1 - - php: 7.1 + - php: 7.3 env: DB=sqlite;CODECHECK=2 fast_finish: true diff --git a/tests/Unit/ClientTest.php b/tests/Unit/ClientTest.php index f1b976d..2c8276d 100644 --- a/tests/Unit/ClientTest.php +++ b/tests/Unit/ClientTest.php @@ -45,7 +45,7 @@ class SharePointClientTest extends TestCase { /** @var Client */ protected $client; - public function setUp() { + protected function setUp(): void { parent::setUp(); $this->contextsFactory = $this->createMock(ContextsFactory::class); diff --git a/tests/Unit/StorageTest.php b/tests/Unit/StorageTest.php index 8c0152a..492987c 100644 --- a/tests/Unit/StorageTest.php +++ b/tests/Unit/StorageTest.php @@ -71,7 +71,7 @@ class SharePointTest extends TestCase { /** @var CappedMemoryCache|\PHPUnit_Framework_MockObject_MockObject */ protected $fileCache; - public function setUp() { + protected function setUp(): void { parent::setUp(); $this->factory = $this->createMock(ContextsFactory::class);