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/theming/tests
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/theming/tests')
-rw-r--r--apps/theming/tests/CapabilitiesTest.php4
-rw-r--r--apps/theming/tests/Controller/ThemingControllerTest.php20
2 files changed, 12 insertions, 12 deletions
diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php
index d70a03923ff..1f871d101d8 100644
--- a/apps/theming/tests/CapabilitiesTest.php
+++ b/apps/theming/tests/CapabilitiesTest.php
@@ -181,13 +181,13 @@ class CapabilitiesTest extends TestCase {
->willReturn($background);
$this->url->expects($this->exactly(4))
->method('getAbsoluteURL')
- ->willReturnCallback(function($url) use($baseUrl) {
+ ->willReturnCallback(function ($url) use ($baseUrl) {
return $baseUrl . $url;
});
} else {
$this->url->expects($this->exactly(3))
->method('getAbsoluteURL')
- ->willReturnCallback(function($url) use($baseUrl) {
+ ->willReturnCallback(function ($url) use ($baseUrl) {
return $baseUrl . $url;
});
}
diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php
index 240cca776c0..d1890f7df5c 100644
--- a/apps/theming/tests/Controller/ThemingControllerTest.php
+++ b/apps/theming/tests/Controller/ThemingControllerTest.php
@@ -151,7 +151,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->once())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
$this->scssCacher
@@ -210,7 +210,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -241,7 +241,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -289,7 +289,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -333,7 +333,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -394,7 +394,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -470,7 +470,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -544,7 +544,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -602,7 +602,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});
@@ -641,7 +641,7 @@ class ThemingControllerTest extends TestCase {
$this->l10n
->expects($this->any())
->method('t')
- ->willReturnCallback(function($str) {
+ ->willReturnCallback(function ($str) {
return $str;
});