Completed
Push — master ( 784f76...5704bc )
by Joas
31:00
created
core/Migrations/Version25000Date20220515204012.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -28,25 +28,25 @@
 block discarded – undo
28 28
 use OCP\Migration\SimpleMigrationStep;
29 29
 
30 30
 class Version25000Date20220515204012 extends SimpleMigrationStep {
31
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
32
-		/** @var ISchemaWrapper $schema */
33
-		$schema = $schemaClosure();
31
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
32
+        /** @var ISchemaWrapper $schema */
33
+        $schema = $schemaClosure();
34 34
 
35
-		if ($schema->hasTable('share')) {
36
-			$shareTable = $schema->getTable('share');
35
+        if ($schema->hasTable('share')) {
36
+            $shareTable = $schema->getTable('share');
37 37
 
38
-			if (!$shareTable->hasColumn('attributes')) {
39
-				$shareTable->addColumn(
40
-					'attributes',
41
-					Types::JSON,
42
-					[
43
-						'default' => null,
44
-						'notnull' => false
45
-					]
46
-				);
47
-			}
48
-		}
38
+            if (!$shareTable->hasColumn('attributes')) {
39
+                $shareTable->addColumn(
40
+                    'attributes',
41
+                    Types::JSON,
42
+                    [
43
+                        'default' => null,
44
+                        'notnull' => false
45
+                    ]
46
+                );
47
+            }
48
+        }
49 49
 
50
-		return $schema;
51
-	}
50
+        return $schema;
51
+    }
52 52
 }
Please login to merge, or discard this patch.
core/Migrations/Version24000Date20220202150027.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -14,25 +14,25 @@
 block discarded – undo
14 14
  * Auto-generated migration step: Please modify to your needs!
15 15
  */
16 16
 class Version24000Date20220202150027 extends SimpleMigrationStep {
17
-	/**
18
-	 * @param IOutput $output
19
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
20
-	 * @param array $options
21
-	 * @return null|ISchemaWrapper
22
-	 */
23
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
24
-		/** @var ISchemaWrapper $schema */
25
-		$schema = $schemaClosure();
17
+    /**
18
+     * @param IOutput $output
19
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
20
+     * @param array $options
21
+     * @return null|ISchemaWrapper
22
+     */
23
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
24
+        /** @var ISchemaWrapper $schema */
25
+        $schema = $schemaClosure();
26 26
 
27
-		$table = $schema->getTable('mounts');
28
-		if (!$table->hasColumn('mount_provider_class')) {
29
-			$table->addColumn('mount_provider_class', Types::STRING, [
30
-				'notnull' => false,
31
-				'length' => 128,
32
-			]);
33
-			$table->addIndex(['mount_provider_class'], 'mounts_class_index');
34
-			return $schema;
35
-		}
36
-		return null;
37
-	}
27
+        $table = $schema->getTable('mounts');
28
+        if (!$table->hasColumn('mount_provider_class')) {
29
+            $table->addColumn('mount_provider_class', Types::STRING, [
30
+                'notnull' => false,
31
+                'length' => 128,
32
+            ]);
33
+            $table->addIndex(['mount_provider_class'], 'mounts_class_index');
34
+            return $schema;
35
+        }
36
+        return null;
37
+    }
38 38
 }
Please login to merge, or discard this patch.
core/templates/loginflow/authpicker.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
 	<h2><?php p($l->t('Connect to your account')) ?></h2>
32 32
 	<p class="info">
33 33
 		<?php print_unescaped($l->t('Please log in before granting %1$s access to your %2$s account.', [
34
-			'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
35
-			\OCP\Util::sanitizeHTML($_['instanceName'])
36
-		])) ?>
34
+            '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
35
+            \OCP\Util::sanitizeHTML($_['instanceName'])
36
+        ])) ?>
37 37
 	</p>
38 38
 
39 39
 	<div class="notecard warning">
Please login to merge, or discard this patch.
core/templates/loginflow/grant.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,15 +31,15 @@
 block discarded – undo
31 31
 	<h2><?php p($l->t('Account access')) ?></h2>
32 32
 	<p class="info">
33 33
 		<?php p($l->t('Currently logged in as %1$s (%2$s).', [
34
-			$_['userDisplayName'],
35
-			$_['userId'],
36
-		])) ?>
34
+            $_['userDisplayName'],
35
+            $_['userId'],
36
+        ])) ?>
37 37
 	</p>
38 38
 	<p class="info">
39 39
 		<?php print_unescaped($l->t('You are about to grant %1$s access to your %2$s account.', [
40
-			'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
41
-			\OCP\Util::sanitizeHTML($_['instanceName'])
42
-		])) ?>
40
+            '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
41
+            \OCP\Util::sanitizeHTML($_['instanceName'])
42
+        ])) ?>
43 43
 	</p>
44 44
 
45 45
 	<br/>
Please login to merge, or discard this patch.
core/templates/update.admin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 		<h2 class="title"><?php p($l->t('App update required')); ?></h2>
5 5
 		<?php } else { ?>
6 6
 		<h2 class="title"><?php p($l->t('%1$s will be updated to version %2$s',
7
-			[$_['productName'], $_['version']])); ?></h2>
7
+            [$_['productName'], $_['version']])); ?></h2>
8 8
 		<?php } ?>
9 9
 		<?php if (!empty($_['appsToUpgrade'])) { ?>
10 10
 		<div class="text-left">
Please login to merge, or discard this patch.
lib/public/User/Backend/ICheckPasswordBackend.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
  * @since 14.0.0
31 31
  */
32 32
 interface ICheckPasswordBackend {
33
-	/**
34
-	 * @since 14.0.0
35
-	 *
36
-	 * @param string $loginName The loginname
37
-	 * @param string $password The password
38
-	 * @return string|false The uid on success false on failure
39
-	 */
40
-	public function checkPassword(string $loginName, string $password);
33
+    /**
34
+     * @since 14.0.0
35
+     *
36
+     * @param string $loginName The loginname
37
+     * @param string $password The password
38
+     * @return string|false The uid on success false on failure
39
+     */
40
+    public function checkPassword(string $loginName, string $password);
41 41
 }
Please login to merge, or discard this patch.
lib/public/Files/SimpleFS/ISimpleRoot.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -32,31 +32,31 @@
 block discarded – undo
32 32
  * @since 11.0.0
33 33
  */
34 34
 interface ISimpleRoot {
35
-	/**
36
-	 * Get the folder with name $name
37
-	 *
38
-	 * @throws NotFoundException
39
-	 * @throws \RuntimeException
40
-	 * @since 11.0.0
41
-	 */
42
-	public function getFolder(string $name): ISimpleFolder;
35
+    /**
36
+     * Get the folder with name $name
37
+     *
38
+     * @throws NotFoundException
39
+     * @throws \RuntimeException
40
+     * @since 11.0.0
41
+     */
42
+    public function getFolder(string $name): ISimpleFolder;
43 43
 
44
-	/**
45
-	 * Get all the Folders
46
-	 *
47
-	 * @return ISimpleFolder[]
48
-	 * @throws NotFoundException
49
-	 * @throws \RuntimeException
50
-	 * @since 11.0.0
51
-	 */
52
-	public function getDirectoryListing(): array;
44
+    /**
45
+     * Get all the Folders
46
+     *
47
+     * @return ISimpleFolder[]
48
+     * @throws NotFoundException
49
+     * @throws \RuntimeException
50
+     * @since 11.0.0
51
+     */
52
+    public function getDirectoryListing(): array;
53 53
 
54
-	/**
55
-	 * Create a new folder named $name
56
-	 *
57
-	 * @throws NotPermittedException
58
-	 * @throws \RuntimeException
59
-	 * @since 11.0.0
60
-	 */
61
-	public function newFolder(string $name): ISimpleFolder;
54
+    /**
55
+     * Create a new folder named $name
56
+     *
57
+     * @throws NotPermittedException
58
+     * @throws \RuntimeException
59
+     * @since 11.0.0
60
+     */
61
+    public function newFolder(string $name): ISimpleFolder;
62 62
 }
Please login to merge, or discard this patch.
lib/public/Files/Events/BeforeDirectFileDownloadEvent.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -32,53 +32,53 @@
 block discarded – undo
32 32
  * @since 25.0.0
33 33
  */
34 34
 class BeforeDirectFileDownloadEvent extends Event {
35
-	private string $path;
36
-	private bool $successful = true;
37
-	private ?string $errorMessage = null;
35
+    private string $path;
36
+    private bool $successful = true;
37
+    private ?string $errorMessage = null;
38 38
 
39
-	/**
40
-	 * @since 25.0.0
41
-	 */
42
-	public function __construct(string $path) {
43
-		parent::__construct();
44
-		$this->path = $path;
45
-	}
39
+    /**
40
+     * @since 25.0.0
41
+     */
42
+    public function __construct(string $path) {
43
+        parent::__construct();
44
+        $this->path = $path;
45
+    }
46 46
 
47
-	/**
48
-	 * @since 25.0.0
49
-	 */
50
-	public function getPath(): string {
51
-		return $this->path;
52
-	}
47
+    /**
48
+     * @since 25.0.0
49
+     */
50
+    public function getPath(): string {
51
+        return $this->path;
52
+    }
53 53
 
54
-	/**
55
-	 * @since 25.0.0
56
-	 */
57
-	public function isSuccessful(): bool {
58
-		return $this->successful;
59
-	}
54
+    /**
55
+     * @since 25.0.0
56
+     */
57
+    public function isSuccessful(): bool {
58
+        return $this->successful;
59
+    }
60 60
 
61
-	/**
62
-	 * Set if the event was successful
63
-	 *
64
-	 * @since 25.0.0
65
-	 */
66
-	public function setSuccessful(bool $successful): void {
67
-		$this->successful = $successful;
68
-	}
61
+    /**
62
+     * Set if the event was successful
63
+     *
64
+     * @since 25.0.0
65
+     */
66
+    public function setSuccessful(bool $successful): void {
67
+        $this->successful = $successful;
68
+    }
69 69
 
70
-	/**
71
-	 * Get the error message, if any
72
-	 * @since 25.0.0
73
-	 */
74
-	public function getErrorMessage(): ?string {
75
-		return $this->errorMessage;
76
-	}
70
+    /**
71
+     * Get the error message, if any
72
+     * @since 25.0.0
73
+     */
74
+    public function getErrorMessage(): ?string {
75
+        return $this->errorMessage;
76
+    }
77 77
 
78
-	/**
79
-	 * @since 25.0.0
80
-	 */
81
-	public function setErrorMessage(string $errorMessage): void {
82
-		$this->errorMessage = $errorMessage;
83
-	}
78
+    /**
79
+     * @since 25.0.0
80
+     */
81
+    public function setErrorMessage(string $errorMessage): void {
82
+        $this->errorMessage = $errorMessage;
83
+    }
84 84
 }
Please login to merge, or discard this patch.
lib/public/Federation/Events/TrustedServerRemovedEvent.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -29,20 +29,20 @@
 block discarded – undo
29 29
  * @since 25.0.0
30 30
  */
31 31
 class TrustedServerRemovedEvent extends Event {
32
-	private string $urlHash;
32
+    private string $urlHash;
33 33
 
34
-	/**
35
-	 * @since 25.0.0
36
-	 */
37
-	public function __construct(string $urlHash) {
38
-		parent::__construct();
39
-		$this->urlHash = $urlHash;
40
-	}
34
+    /**
35
+     * @since 25.0.0
36
+     */
37
+    public function __construct(string $urlHash) {
38
+        parent::__construct();
39
+        $this->urlHash = $urlHash;
40
+    }
41 41
 
42
-	/**
43
-	 * @since 25.0.0
44
-	 */
45
-	public function getUrlHash(): string {
46
-		return $this->urlHash;
47
-	}
42
+    /**
43
+     * @since 25.0.0
44
+     */
45
+    public function getUrlHash(): string {
46
+        return $this->urlHash;
47
+    }
48 48
 }
Please login to merge, or discard this patch.