Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-11-28 12:19:41 +0300
committerJoas Schilling <coding@schilljs.com>2019-11-28 12:19:41 +0300
commit1365784011a6fd2ccfb51e8818f9bb46aa372913 (patch)
treecea9dc980af6cf0381bd3a8c1ec6c2a4ff0d4b83
parent2f466f8ce2675d06149188a2985c38d81e1859e2 (diff)
Compatibility with phpunit8comptibility-with-phpunit-8
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/php/Activity/Provider/BaseTest.php2
-rw-r--r--tests/php/Activity/Provider/InvitationTest.php2
-rw-r--r--tests/php/CapabilitiesTest.php2
-rw-r--r--tests/php/Chat/AutoComplete/SearchPluginTest.php2
-rw-r--r--tests/php/Chat/AutoComplete/SorterTest.php2
-rw-r--r--tests/php/Chat/ChatManagerTest.php2
-rw-r--r--tests/php/Chat/Command/ExecutorTest.php2
-rw-r--r--tests/php/Chat/NotifierTest.php2
-rw-r--r--tests/php/Chat/Parser/SystemMessageTest.php2
-rw-r--r--tests/php/Chat/Parser/UserMentionTest.php2
-rw-r--r--tests/php/Collaboration/Collaborators/RoomPluginTest.php2
-rw-r--r--tests/php/Collaboration/Resources/ConversationProviderTest.php2
-rw-r--r--tests/php/Command/Signaling/AddTest.php2
-rw-r--r--tests/php/Command/Signaling/DeleteTest.php2
-rw-r--r--tests/php/Command/Signaling/ListCommandTest.php2
-rw-r--r--tests/php/Command/Stun/AddTest.php2
-rw-r--r--tests/php/Command/Stun/DeleteTest.php2
-rw-r--r--tests/php/Command/Stun/ListCommandTest.php2
-rw-r--r--tests/php/Command/Turn/AddTest.php2
-rw-r--r--tests/php/Command/Turn/DeleteTest.php2
-rw-r--r--tests/php/Command/Turn/ListCommandTest.php2
-rw-r--r--tests/php/Controller/ChatControllerTest.php2
-rw-r--r--tests/php/Controller/RoomControllerTest.php2
-rw-r--r--tests/php/Controller/SignalingControllerTest.php2
-rw-r--r--tests/php/Notification/NotifierTest.php2
-rw-r--r--tests/php/Settings/Admin/SectionTest.php2
-rw-r--r--tests/php/Settings/Admin/StunServerTest.php2
-rw-r--r--tests/php/Settings/Admin/TurnServerTest.php2
-rw-r--r--tests/php/Signaling/BackendNotifierTest.php4
-rw-r--r--tests/php/TalkSessionTest.php2
30 files changed, 31 insertions, 31 deletions
diff --git a/tests/php/Activity/Provider/BaseTest.php b/tests/php/Activity/Provider/BaseTest.php
index 35a9c3bca..22d1521fe 100644
--- a/tests/php/Activity/Provider/BaseTest.php
+++ b/tests/php/Activity/Provider/BaseTest.php
@@ -56,7 +56,7 @@ class BaseTest extends TestCase {
/** @var Manager|MockObject */
protected $manager;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->l10nFactory = $this->createMock(IFactory::class);
diff --git a/tests/php/Activity/Provider/InvitationTest.php b/tests/php/Activity/Provider/InvitationTest.php
index 15055f390..95dd29f4d 100644
--- a/tests/php/Activity/Provider/InvitationTest.php
+++ b/tests/php/Activity/Provider/InvitationTest.php
@@ -57,7 +57,7 @@ class InvitationTest extends TestCase {
/** @var Manager|MockObject */
protected $manager;
- public function setUp() {
+ public function setUp():void {
parent::setUp();
$this->l10nFactory = $this->createMock(IFactory::class);
diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php
index c1eedac7d..a0e29b76a 100644
--- a/tests/php/CapabilitiesTest.php
+++ b/tests/php/CapabilitiesTest.php
@@ -42,7 +42,7 @@ class CapabilitiesTest extends TestCase {
/** @var IUserSession|MockObject */
protected $userSession;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->serverConfig = $this->createMock(IConfig::class);
$this->talkConfig = $this->createMock(Config::class);
diff --git a/tests/php/Chat/AutoComplete/SearchPluginTest.php b/tests/php/Chat/AutoComplete/SearchPluginTest.php
index bae101153..bc05f217f 100644
--- a/tests/php/Chat/AutoComplete/SearchPluginTest.php
+++ b/tests/php/Chat/AutoComplete/SearchPluginTest.php
@@ -50,7 +50,7 @@ class SearchPluginTest extends \Test\TestCase {
/** @var SearchPlugin */
protected $plugin;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userManager = $this->createMock(IUserManager::class);
diff --git a/tests/php/Chat/AutoComplete/SorterTest.php b/tests/php/Chat/AutoComplete/SorterTest.php
index a04c325be..84abcb6dd 100644
--- a/tests/php/Chat/AutoComplete/SorterTest.php
+++ b/tests/php/Chat/AutoComplete/SorterTest.php
@@ -61,7 +61,7 @@ class SorterTest extends \Test\TestCase {
],
];
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->commentsManager = $this->createMock(CommentsManager::class);
diff --git a/tests/php/Chat/ChatManagerTest.php b/tests/php/Chat/ChatManagerTest.php
index e9f56f164..647f5a317 100644
--- a/tests/php/Chat/ChatManagerTest.php
+++ b/tests/php/Chat/ChatManagerTest.php
@@ -49,7 +49,7 @@ class ChatManagerTest extends TestCase {
/** @var ChatManager */
protected $chatManager;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->commentsManager = $this->createMock(CommentsManager::class);
diff --git a/tests/php/Chat/Command/ExecutorTest.php b/tests/php/Chat/Command/ExecutorTest.php
index f21f1cf02..9b449123a 100644
--- a/tests/php/Chat/Command/ExecutorTest.php
+++ b/tests/php/Chat/Command/ExecutorTest.php
@@ -56,7 +56,7 @@ class ExecutorTest extends TestCase {
/** @var Executor */
protected $executor;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->dispatcher = $this->createMock(EventDispatcherInterface::class);
diff --git a/tests/php/Chat/NotifierTest.php b/tests/php/Chat/NotifierTest.php
index b88244c59..375587af7 100644
--- a/tests/php/Chat/NotifierTest.php
+++ b/tests/php/Chat/NotifierTest.php
@@ -51,7 +51,7 @@ class NotifierTest extends \Test\TestCase {
/** @var \OCA\Talk\Chat\Notifier */
protected $notifier;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->notificationManager = $this->createMock(INotificationManager::class);
diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php
index bc045789f..8544e7d7d 100644
--- a/tests/php/Chat/Parser/SystemMessageTest.php
+++ b/tests/php/Chat/Parser/SystemMessageTest.php
@@ -61,7 +61,7 @@ class SystemMessageTest extends TestCase {
/** @var IL10N|MockObject */
protected $l;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userManager = $this->createMock(IUserManager::class);
diff --git a/tests/php/Chat/Parser/UserMentionTest.php b/tests/php/Chat/Parser/UserMentionTest.php
index 7cdb2cbec..2e9f7a8a3 100644
--- a/tests/php/Chat/Parser/UserMentionTest.php
+++ b/tests/php/Chat/Parser/UserMentionTest.php
@@ -50,7 +50,7 @@ class UserMentionTest extends \Test\TestCase {
/** @var UserMention */
protected $parser;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->commentsManager = $this->createMock(ICommentsManager::class);
diff --git a/tests/php/Collaboration/Collaborators/RoomPluginTest.php b/tests/php/Collaboration/Collaborators/RoomPluginTest.php
index 0be7971b1..897859fb8 100644
--- a/tests/php/Collaboration/Collaborators/RoomPluginTest.php
+++ b/tests/php/Collaboration/Collaborators/RoomPluginTest.php
@@ -50,7 +50,7 @@ class RoomPluginTest extends \Test\TestCase {
/** @var RoomPlugin */
protected $plugin;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->manager = $this->createMock(Manager::class);
diff --git a/tests/php/Collaboration/Resources/ConversationProviderTest.php b/tests/php/Collaboration/Resources/ConversationProviderTest.php
index b8423eb58..a8c7c4211 100644
--- a/tests/php/Collaboration/Resources/ConversationProviderTest.php
+++ b/tests/php/Collaboration/Resources/ConversationProviderTest.php
@@ -49,7 +49,7 @@ class ConversationProviderTest extends TestCase {
/** @var ConversationProvider */
protected $provider;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->manager = $this->createMock(Manager::class);
diff --git a/tests/php/Command/Signaling/AddTest.php b/tests/php/Command/Signaling/AddTest.php
index 75c60ad46..c1abd4d24 100644
--- a/tests/php/Command/Signaling/AddTest.php
+++ b/tests/php/Command/Signaling/AddTest.php
@@ -42,7 +42,7 @@ class AddTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Signaling/DeleteTest.php b/tests/php/Command/Signaling/DeleteTest.php
index 06efcf047..cd962ec9f 100644
--- a/tests/php/Command/Signaling/DeleteTest.php
+++ b/tests/php/Command/Signaling/DeleteTest.php
@@ -42,7 +42,7 @@ class DeleteTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Signaling/ListCommandTest.php b/tests/php/Command/Signaling/ListCommandTest.php
index bb426d9bb..a96ff3e26 100644
--- a/tests/php/Command/Signaling/ListCommandTest.php
+++ b/tests/php/Command/Signaling/ListCommandTest.php
@@ -42,7 +42,7 @@ class ListCommandTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Stun/AddTest.php b/tests/php/Command/Stun/AddTest.php
index b36023f7f..fa1977f31 100644
--- a/tests/php/Command/Stun/AddTest.php
+++ b/tests/php/Command/Stun/AddTest.php
@@ -42,7 +42,7 @@ class AddTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Stun/DeleteTest.php b/tests/php/Command/Stun/DeleteTest.php
index b3c0744c9..f16ae2930 100644
--- a/tests/php/Command/Stun/DeleteTest.php
+++ b/tests/php/Command/Stun/DeleteTest.php
@@ -42,7 +42,7 @@ class DeleteTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Stun/ListCommandTest.php b/tests/php/Command/Stun/ListCommandTest.php
index 4f9538efe..d18ec5f65 100644
--- a/tests/php/Command/Stun/ListCommandTest.php
+++ b/tests/php/Command/Stun/ListCommandTest.php
@@ -42,7 +42,7 @@ class ListCommandTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Turn/AddTest.php b/tests/php/Command/Turn/AddTest.php
index 7bc51f75c..211a2fccc 100644
--- a/tests/php/Command/Turn/AddTest.php
+++ b/tests/php/Command/Turn/AddTest.php
@@ -42,7 +42,7 @@ class AddTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Turn/DeleteTest.php b/tests/php/Command/Turn/DeleteTest.php
index ff2fb3be1..ca795ff49 100644
--- a/tests/php/Command/Turn/DeleteTest.php
+++ b/tests/php/Command/Turn/DeleteTest.php
@@ -42,7 +42,7 @@ class DeleteTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Command/Turn/ListCommandTest.php b/tests/php/Command/Turn/ListCommandTest.php
index 7ae9dfd88..e0090a73f 100644
--- a/tests/php/Command/Turn/ListCommandTest.php
+++ b/tests/php/Command/Turn/ListCommandTest.php
@@ -42,7 +42,7 @@ class ListCommandTest extends TestCase {
/** @var OutputInterface|\PHPUnit_Framework_MockObject_MockObject */
private $output;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php
index c3f77e56a..b4d4a7e57 100644
--- a/tests/php/Controller/ChatControllerTest.php
+++ b/tests/php/Controller/ChatControllerTest.php
@@ -83,7 +83,7 @@ class ChatControllerTest extends TestCase {
/** @var Callback */
private $newMessageDateTimeConstraint;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userId = 'testUser';
diff --git a/tests/php/Controller/RoomControllerTest.php b/tests/php/Controller/RoomControllerTest.php
index 839311d50..66a93e329 100644
--- a/tests/php/Controller/RoomControllerTest.php
+++ b/tests/php/Controller/RoomControllerTest.php
@@ -69,7 +69,7 @@ class RoomControllerTest extends \Test\TestCase {
private $l;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userId = 'testUser';
diff --git a/tests/php/Controller/SignalingControllerTest.php b/tests/php/Controller/SignalingControllerTest.php
index 55bdbac9f..24cb9ffdf 100644
--- a/tests/php/Controller/SignalingControllerTest.php
+++ b/tests/php/Controller/SignalingControllerTest.php
@@ -87,7 +87,7 @@ class SignalingControllerTest extends \Test\TestCase {
/** @var CustomInputSignalingController */
private $controller;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userId = 'testUser';
diff --git a/tests/php/Notification/NotifierTest.php b/tests/php/Notification/NotifierTest.php
index b88cdefce..d28b98818 100644
--- a/tests/php/Notification/NotifierTest.php
+++ b/tests/php/Notification/NotifierTest.php
@@ -72,7 +72,7 @@ class NotifierTest extends \Test\TestCase {
/** @var Notifier */
protected $notifier;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->lFactory = $this->createMock(IFactory::class);
diff --git a/tests/php/Settings/Admin/SectionTest.php b/tests/php/Settings/Admin/SectionTest.php
index b184c7d4d..cb664ddd1 100644
--- a/tests/php/Settings/Admin/SectionTest.php
+++ b/tests/php/Settings/Admin/SectionTest.php
@@ -36,7 +36,7 @@ class SectionTest extends \Test\TestCase {
/** @var Section */
protected $admin;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->url = $this->createMock(IURLGenerator::class);
diff --git a/tests/php/Settings/Admin/StunServerTest.php b/tests/php/Settings/Admin/StunServerTest.php
index 5b8d66d9f..9f1a8e0af 100644
--- a/tests/php/Settings/Admin/StunServerTest.php
+++ b/tests/php/Settings/Admin/StunServerTest.php
@@ -36,7 +36,7 @@ class StunServerTest extends \Test\TestCase {
/** @var StunServer */
protected $admin;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(Config::class);
diff --git a/tests/php/Settings/Admin/TurnServerTest.php b/tests/php/Settings/Admin/TurnServerTest.php
index 0a6b2c2b6..a71366a12 100644
--- a/tests/php/Settings/Admin/TurnServerTest.php
+++ b/tests/php/Settings/Admin/TurnServerTest.php
@@ -36,7 +36,7 @@ class TurnServerTest extends \Test\TestCase {
/** @var TurnServer */
protected $admin;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(Config::class);
diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php
index 7b95f03cb..0dcc9c61b 100644
--- a/tests/php/Signaling/BackendNotifierTest.php
+++ b/tests/php/Signaling/BackendNotifierTest.php
@@ -92,7 +92,7 @@ class BackendNotifierTest extends \Test\TestCase {
/** @var BackendNotifier */
protected $originalBackendNotifier;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->userId = 'testUser';
@@ -139,7 +139,7 @@ class BackendNotifierTest extends \Test\TestCase {
);
}
- public function tearDown() {
+ public function tearDown(): void {
$config = \OC::$server->getConfig();
$config->deleteAppValue('spreed', 'signaling_servers');
$this->app->getContainer()->registerService(BackendNotifier::class, function() {
diff --git a/tests/php/TalkSessionTest.php b/tests/php/TalkSessionTest.php
index 388411757..38ed812e6 100644
--- a/tests/php/TalkSessionTest.php
+++ b/tests/php/TalkSessionTest.php
@@ -37,7 +37,7 @@ class TalkSessionTest extends TestCase {
/** @var TalkSession */
protected $talkSession;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->session = $this->createMock(ISession::class);