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:
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;
});