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-09 14:53:40 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 14:54:22 +0300
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /apps/workflowengine/tests
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/workflowengine/tests')
-rw-r--r--apps/workflowengine/tests/Check/AbstractStringCheckTest.php2
-rw-r--r--apps/workflowengine/tests/Check/RequestUserAgentTest.php2
-rw-r--r--apps/workflowengine/tests/ManagerTest.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php
index 70f8f79146a..f9fc57a5331 100644
--- a/apps/workflowengine/tests/Check/AbstractStringCheckTest.php
+++ b/apps/workflowengine/tests/Check/AbstractStringCheckTest.php
@@ -31,7 +31,7 @@ class AbstractStringCheckTest extends \Test\TestCase {
->getMock();
$l->expects($this->any())
->method('t')
- ->willReturnCallback(function($string, $args) {
+ ->willReturnCallback(function ($string, $args) {
return sprintf($string, $args);
});
diff --git a/apps/workflowengine/tests/Check/RequestUserAgentTest.php b/apps/workflowengine/tests/Check/RequestUserAgentTest.php
index 7003441053d..7ea5aad2a6e 100644
--- a/apps/workflowengine/tests/Check/RequestUserAgentTest.php
+++ b/apps/workflowengine/tests/Check/RequestUserAgentTest.php
@@ -44,7 +44,7 @@ class RequestUserAgentTest extends TestCase {
->getMock();
$l->expects($this->any())
->method('t')
- ->willReturnCallback(function($string, $args) {
+ ->willReturnCallback(function ($string, $args) {
return sprintf($string, $args);
});
diff --git a/apps/workflowengine/tests/ManagerTest.php b/apps/workflowengine/tests/ManagerTest.php
index 2a5128f76b6..cad4be174cf 100644
--- a/apps/workflowengine/tests/ManagerTest.php
+++ b/apps/workflowengine/tests/ManagerTest.php
@@ -78,7 +78,7 @@ class ManagerTest extends TestCase {
/** @var IL10N|MockObject $l */
$this->l = $this->createMock(IL10N::class);
$this->l->method('t')
- ->willReturnCallback(function($text, $parameters = []) {
+ ->willReturnCallback(function ($text, $parameters = []) {
return vsprintf($text, $parameters);
});
@@ -414,7 +414,7 @@ class ManagerTest extends TestCase {
$this->legacyDispatcher->expects($this->once())
->method('dispatch')
->with('OCP\WorkflowEngine::registerEntities', $this->anything())
- ->willReturnCallback(function() use ($extraEntity) {
+ ->willReturnCallback(function () use ($extraEntity) {
$this->manager->registerEntity($extraEntity);
});