summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 11:25:38 +0200
committerGitHub <noreply@github.com>2020-04-09 11:25:38 +0200
commit813bdc1ce8a45039fa17aac12bd078466a0034d0 (patch)
treea2ea40c4afc7f4c188d008d9850e795e60ae020d /core
parent21b7e510102514d85558b1863759c20171c15e28 (diff)
parent2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (diff)
downloadnextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.tar.gz
nextcloud-server-813bdc1ce8a45039fa17aac12bd078466a0034d0.zip
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Fix (array) indent style to always use one tab
Diffstat (limited to 'core')
-rw-r--r--core/Controller/AvatarController.php8
-rw-r--r--core/Controller/LostController.php4
-rw-r--r--core/templates/loginflow/authpicker.php6
-rw-r--r--core/templates/loginflow/grant.php6
-rw-r--r--core/templates/loginflowv2/authpicker.php6
-rw-r--r--core/templates/loginflowv2/grant.php6
6 files changed, 18 insertions, 18 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php
index b5d34c3ccb9..34280c6094f 100644
--- a/core/Controller/AvatarController.php
+++ b/core/Controller/AvatarController.php
@@ -282,8 +282,8 @@ class AvatarController extends Controller {
$tmpAvatar = $this->cache->get('tmpAvatar');
if (is_null($tmpAvatar)) {
return new JSONResponse(['data' => [
- 'message' => $this->l->t("No temporary profile picture available, try again")
- ]],
+ 'message' => $this->l->t("No temporary profile picture available, try again")
+ ]],
Http::STATUS_NOT_FOUND);
}
@@ -320,8 +320,8 @@ class AvatarController extends Controller {
$tmpAvatar = $this->cache->get('tmpAvatar');
if (is_null($tmpAvatar)) {
return new JSONResponse(['data' => [
- 'message' => $this->l->t("No temporary profile picture available, try again")
- ]],
+ 'message' => $this->l->t("No temporary profile picture available, try again")
+ ]],
Http::STATUS_BAD_REQUEST);
}
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index a210f3de547..d7d9bc4c15c 100644
--- a/core/Controller/LostController.php
+++ b/core/Controller/LostController.php
@@ -159,8 +159,8 @@ class LostController extends Controller {
public function resetform($token, $userId) {
if ($this->config->getSystemValue('lost_password_link', '') !== '') {
return new TemplateResponse('core', 'error', [
- 'errors' => [['error' => $this->l10n->t('Password reset is disabled')]]
- ],
+ 'errors' => [['error' => $this->l10n->t('Password reset is disabled')]]
+ ],
'guest'
);
}
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index 890e0b186d9..5946eb78400 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -31,9 +31,9 @@ $urlGenerator = $_['urlGenerator'];
<h2><?php p($l->t('Connect to your account')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Please log in before granting %1$s access to your %2$s account.', [
- '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
- \OCP\Util::sanitizeHTML($_['instanceName'])
- ])) ?>
+ '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
+ \OCP\Util::sanitizeHTML($_['instanceName'])
+ ])) ?>
</p>
<br/>
diff --git a/core/templates/loginflow/grant.php b/core/templates/loginflow/grant.php
index 2321d3714f3..0f1b9235a89 100644
--- a/core/templates/loginflow/grant.php
+++ b/core/templates/loginflow/grant.php
@@ -31,9 +31,9 @@ $urlGenerator = $_['urlGenerator'];
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('You are about to grant %1$s access to your %2$s account.', [
- '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
- \OCP\Util::sanitizeHTML($_['instanceName'])
- ])) ?>
+ '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
+ \OCP\Util::sanitizeHTML($_['instanceName'])
+ ])) ?>
</p>
<br/>
diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php
index 79462eec8dc..ccc9162bbc3 100644
--- a/core/templates/loginflowv2/authpicker.php
+++ b/core/templates/loginflowv2/authpicker.php
@@ -30,9 +30,9 @@ $urlGenerator = $_['urlGenerator'];
<h2><?php p($l->t('Connect to your account')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Please log in before granting %1$s access to your %2$s account.', [
- '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
- \OCP\Util::sanitizeHTML($_['instanceName'])
- ])) ?>
+ '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
+ \OCP\Util::sanitizeHTML($_['instanceName'])
+ ])) ?>
</p>
<br/>
diff --git a/core/templates/loginflowv2/grant.php b/core/templates/loginflowv2/grant.php
index c8ea22dca8b..b036d33ad7c 100644
--- a/core/templates/loginflowv2/grant.php
+++ b/core/templates/loginflowv2/grant.php
@@ -31,9 +31,9 @@ $urlGenerator = $_['urlGenerator'];
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('You are about to grant %1$s access to your %2$s account.', [
- '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
- \OCP\Util::sanitizeHTML($_['instanceName'])
- ])) ?>
+ '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
+ \OCP\Util::sanitizeHTML($_['instanceName'])
+ ])) ?>
</p>
<br/>