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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 11:35:09 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 11:35:09 +0300
commit14c996d98256de958da367297c3313e0fa7ef9a8 (patch)
tree27074d5403b67cbaf59d7b7181481ebe70af5d9e /tests/Core
parentd6e17fb01777866674129a5883c03642f4bfd4a5 (diff)
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Command/Group/AddUserTest.php2
-rw-r--r--tests/Core/Command/Group/ListCommandTest.php2
-rw-r--r--tests/Core/Command/Group/RemoveUserTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/Core/Command/Group/AddUserTest.php b/tests/Core/Command/Group/AddUserTest.php
index 800e5ecd4f4..ad7267ca841 100644
--- a/tests/Core/Command/Group/AddUserTest.php
+++ b/tests/Core/Command/Group/AddUserTest.php
@@ -61,7 +61,7 @@ class AddUserTest extends TestCase {
->willReturnCallback(function ($arg) {
if ($arg === 'group') {
return 'myGroup';
- } else if ($arg === 'user') {
+ } elseif ($arg === 'user') {
return 'myUser';
}
throw new \Exception();
diff --git a/tests/Core/Command/Group/ListCommandTest.php b/tests/Core/Command/Group/ListCommandTest.php
index 6f2a45c9706..19ed9942145 100644
--- a/tests/Core/Command/Group/ListCommandTest.php
+++ b/tests/Core/Command/Group/ListCommandTest.php
@@ -59,7 +59,7 @@ class ListCommandTest extends TestCase {
->willReturnCallback(function ($arg) {
if ($arg === 'limit') {
return '100';
- } else if ($arg === 'offset') {
+ } elseif ($arg === 'offset') {
return '42';
}
throw new \Exception();
diff --git a/tests/Core/Command/Group/RemoveUserTest.php b/tests/Core/Command/Group/RemoveUserTest.php
index 18d8512fcaa..f9a25face3b 100644
--- a/tests/Core/Command/Group/RemoveUserTest.php
+++ b/tests/Core/Command/Group/RemoveUserTest.php
@@ -61,7 +61,7 @@ class RemoveUserTest extends TestCase {
->willReturnCallback(function ($arg) {
if ($arg === 'group') {
return 'myGroup';
- } else if ($arg === 'user') {
+ } elseif ($arg === 'user') {
return 'myUser';
}
throw new \Exception();