summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
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();