Completed
Push — master ( 3911d6...b5b320 )
by
unknown
31:08
created
core/Migrations/Version15000Date20181015062942.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -32,23 +32,23 @@
 block discarded – undo
32 32
 use OCP\Migration\SimpleMigrationStep;
33 33
 
34 34
 class Version15000Date20181015062942 extends SimpleMigrationStep {
35
-	/**
36
-	 * @param IOutput $output
37
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
-	 * @param array $options
39
-	 * @return null|ISchemaWrapper
40
-	 */
41
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
42
-		/** @var ISchemaWrapper $schema */
43
-		$schema = $schemaClosure();
35
+    /**
36
+     * @param IOutput $output
37
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
38
+     * @param array $options
39
+     * @return null|ISchemaWrapper
40
+     */
41
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
42
+        /** @var ISchemaWrapper $schema */
43
+        $schema = $schemaClosure();
44 44
 
45
-		$table = $schema->getTable('share');
46
-		$table->addColumn('hide_download', 'smallint', [
47
-			'notnull' => false,
48
-			'length' => 1,
49
-			'default' => 0,
50
-		]);
45
+        $table = $schema->getTable('share');
46
+        $table->addColumn('hide_download', 'smallint', [
47
+            'notnull' => false,
48
+            'length' => 1,
49
+            'default' => 0,
50
+        ]);
51 51
 
52
-		return $schema;
53
-	}
52
+        return $schema;
53
+    }
54 54
 }
Please login to merge, or discard this patch.
core/Migrations/Version25000Date20220602190540.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -33,24 +33,24 @@
 block discarded – undo
33 33
 use OCP\Migration\SimpleMigrationStep;
34 34
 
35 35
 class Version25000Date20220602190540 extends SimpleMigrationStep {
36
-	/**
37
-	 * @param IOutput $output
38
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
-	 * @param array $options
40
-	 * @return null|ISchemaWrapper
41
-	 */
42
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
-		/** @var ISchemaWrapper $schema */
44
-		$schema = $schemaClosure();
36
+    /**
37
+     * @param IOutput $output
38
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
+     * @param array $options
40
+     * @return null|ISchemaWrapper
41
+     */
42
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
+        /** @var ISchemaWrapper $schema */
44
+        $schema = $schemaClosure();
45 45
 
46
-		$comments = $schema->getTable('comments');
47
-		if (!$comments->hasColumn('expire_date')) {
48
-			$comments->addColumn('expire_date', Types::DATETIME, [
49
-				'notnull' => false,
50
-			]);
51
-			$comments->addIndex(['expire_date'], 'expire_date');
52
-			return $schema;
53
-		}
54
-		return null;
55
-	}
46
+        $comments = $schema->getTable('comments');
47
+        if (!$comments->hasColumn('expire_date')) {
48
+            $comments->addColumn('expire_date', Types::DATETIME, [
49
+                'notnull' => false,
50
+            ]);
51
+            $comments->addIndex(['expire_date'], 'expire_date');
52
+            return $schema;
53
+        }
54
+        return null;
55
+    }
56 56
 }
Please login to merge, or discard this patch.
core/Migrations/Version25000Date20220905140840.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -33,24 +33,24 @@
 block discarded – undo
33 33
 use OCP\Migration\SimpleMigrationStep;
34 34
 
35 35
 class Version25000Date20220905140840 extends SimpleMigrationStep {
36
-	/**
37
-	 * @param IOutput $output
38
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
-	 * @param array $options
40
-	 * @return null|ISchemaWrapper
41
-	 */
42
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
-		/** @var ISchemaWrapper $schema */
44
-		$schema = $schemaClosure();
36
+    /**
37
+     * @param IOutput $output
38
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
39
+     * @param array $options
40
+     * @return null|ISchemaWrapper
41
+     */
42
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
43
+        /** @var ISchemaWrapper $schema */
44
+        $schema = $schemaClosure();
45 45
 
46
-		$authTokenTable = $schema->getTable('authtoken');
47
-		if (!$authTokenTable->hasColumn('password_hash')) {
48
-			$authTokenTable->addColumn('password_hash', Types::STRING, [
49
-				'notnull' => false,
50
-				'length' => 255,
51
-			]);
52
-			return $schema;
53
-		}
54
-		return null;
55
-	}
46
+        $authTokenTable = $schema->getTable('authtoken');
47
+        if (!$authTokenTable->hasColumn('password_hash')) {
48
+            $authTokenTable->addColumn('password_hash', Types::STRING, [
49
+                'notnull' => false,
50
+                'length' => 255,
51
+            ]);
52
+            return $schema;
53
+        }
54
+        return null;
55
+    }
56 56
 }
Please login to merge, or discard this patch.
lib/public/User/Backend/ABackend.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -34,41 +34,41 @@
 block discarded – undo
34 34
  * @since 14.0.0
35 35
  */
36 36
 abstract class ABackend implements IUserBackend, UserInterface {
37
-	/**
38
-	 * @deprecated 14.0.0
39
-	 * @since 14.0.0
40
-	 *
41
-	 * @param int $actions The action to check for
42
-	 * @return bool
43
-	 */
44
-	public function implementsActions($actions): bool {
45
-		$implements = 0;
37
+    /**
38
+     * @deprecated 14.0.0
39
+     * @since 14.0.0
40
+     *
41
+     * @param int $actions The action to check for
42
+     * @return bool
43
+     */
44
+    public function implementsActions($actions): bool {
45
+        $implements = 0;
46 46
 
47
-		if ($this instanceof ICreateUserBackend) {
48
-			$implements |= Backend::CREATE_USER;
49
-		}
50
-		if ($this instanceof ISetPasswordBackend) {
51
-			$implements |= Backend::SET_PASSWORD;
52
-		}
53
-		if ($this instanceof ICheckPasswordBackend) {
54
-			$implements |= Backend::CHECK_PASSWORD;
55
-		}
56
-		if ($this instanceof IGetHomeBackend) {
57
-			$implements |= Backend::GET_HOME;
58
-		}
59
-		if ($this instanceof IGetDisplayNameBackend) {
60
-			$implements |= Backend::GET_DISPLAYNAME;
61
-		}
62
-		if ($this instanceof ISetDisplayNameBackend) {
63
-			$implements |= Backend::SET_DISPLAYNAME;
64
-		}
65
-		if ($this instanceof IProvideAvatarBackend) {
66
-			$implements |= Backend::PROVIDE_AVATAR;
67
-		}
68
-		if ($this instanceof ICountUsersBackend) {
69
-			$implements |= Backend::COUNT_USERS;
70
-		}
47
+        if ($this instanceof ICreateUserBackend) {
48
+            $implements |= Backend::CREATE_USER;
49
+        }
50
+        if ($this instanceof ISetPasswordBackend) {
51
+            $implements |= Backend::SET_PASSWORD;
52
+        }
53
+        if ($this instanceof ICheckPasswordBackend) {
54
+            $implements |= Backend::CHECK_PASSWORD;
55
+        }
56
+        if ($this instanceof IGetHomeBackend) {
57
+            $implements |= Backend::GET_HOME;
58
+        }
59
+        if ($this instanceof IGetDisplayNameBackend) {
60
+            $implements |= Backend::GET_DISPLAYNAME;
61
+        }
62
+        if ($this instanceof ISetDisplayNameBackend) {
63
+            $implements |= Backend::SET_DISPLAYNAME;
64
+        }
65
+        if ($this instanceof IProvideAvatarBackend) {
66
+            $implements |= Backend::PROVIDE_AVATAR;
67
+        }
68
+        if ($this instanceof ICountUsersBackend) {
69
+            $implements |= Backend::COUNT_USERS;
70
+        }
71 71
 
72
-		return (bool)($actions & $implements);
73
-	}
72
+        return (bool)($actions & $implements);
73
+    }
74 74
 }
Please login to merge, or discard this patch.
lib/private/AppFramework/Bootstrap/MiddlewareRegistration.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
  * @template-extends ServiceRegistration<Middleware>
33 33
  */
34 34
 class MiddlewareRegistration extends ServiceRegistration {
35
-	private bool $global;
35
+    private bool $global;
36 36
 
37
-	public function __construct(string $appId, string $service, bool $global) {
38
-		parent::__construct($appId, $service);
39
-		$this->global = $global;
40
-	}
37
+    public function __construct(string $appId, string $service, bool $global) {
38
+        parent::__construct($appId, $service);
39
+        $this->global = $global;
40
+    }
41 41
 
42
-	public function isGlobal(): bool {
43
-		return $this->global;
44
-	}
42
+    public function isGlobal(): bool {
43
+        return $this->global;
44
+    }
45 45
 }
Please login to merge, or discard this patch.
lib/public/Collaboration/Reference/IDiscoverableReferenceProvider.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -28,33 +28,33 @@
 block discarded – undo
28 28
  * @since 26.0.0
29 29
  */
30 30
 interface IDiscoverableReferenceProvider extends IReferenceProvider {
31
-	/**
32
-	 * @return string Unique id that identifies the reference provider
33
-	 * @since 26.0.0
34
-	 */
35
-	public function getId(): string;
31
+    /**
32
+     * @return string Unique id that identifies the reference provider
33
+     * @since 26.0.0
34
+     */
35
+    public function getId(): string;
36 36
 
37
-	/**
38
-	 * @return string User facing title of the widget
39
-	 * @since 26.0.0
40
-	 */
41
-	public function getTitle(): string;
37
+    /**
38
+     * @return string User facing title of the widget
39
+     * @since 26.0.0
40
+     */
41
+    public function getTitle(): string;
42 42
 
43
-	/**
44
-	 * @return int Initial order for reference provider sorting
45
-	 * @since 26.0.0
46
-	 */
47
-	public function getOrder(): int;
43
+    /**
44
+     * @return int Initial order for reference provider sorting
45
+     * @since 26.0.0
46
+     */
47
+    public function getOrder(): int;
48 48
 
49
-	/**
50
-	 * @return string url to an icon that can be displayed next to the reference provider title
51
-	 * @since 26.0.0
52
-	 */
53
-	public function getIconUrl(): string;
49
+    /**
50
+     * @return string url to an icon that can be displayed next to the reference provider title
51
+     * @since 26.0.0
52
+     */
53
+    public function getIconUrl(): string;
54 54
 
55
-	/**
56
-	 * @return array representation of the provider
57
-	 * @since 26.0.0
58
-	 */
59
-	public function jsonSerialize(): array;
55
+    /**
56
+     * @return array representation of the provider
57
+     * @since 26.0.0
58
+     */
59
+    public function jsonSerialize(): array;
60 60
 }
Please login to merge, or discard this patch.
lib/public/Collaboration/Reference/ADiscoverableReferenceProvider.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -30,19 +30,19 @@
 block discarded – undo
30 30
  * @since 26.0.0
31 31
  */
32 32
 abstract class ADiscoverableReferenceProvider implements IDiscoverableReferenceProvider, JsonSerializable {
33
-	/**
34
-	 * @since 26.0.0
35
-	 */
36
-	public function jsonSerialize(): array {
37
-		$json = [
38
-			'id' => $this->getId(),
39
-			'title' => $this->getTitle(),
40
-			'icon_url' => $this->getIconUrl(),
41
-			'order' => $this->getOrder(),
42
-		];
43
-		if ($this instanceof ISearchableReferenceProvider) {
44
-			$json['search_providers_ids'] = $this->getSupportedSearchProviderIds();
45
-		}
46
-		return $json;
47
-	}
33
+    /**
34
+     * @since 26.0.0
35
+     */
36
+    public function jsonSerialize(): array {
37
+        $json = [
38
+            'id' => $this->getId(),
39
+            'title' => $this->getTitle(),
40
+            'icon_url' => $this->getIconUrl(),
41
+            'order' => $this->getOrder(),
42
+        ];
43
+        if ($this instanceof ISearchableReferenceProvider) {
44
+            $json['search_providers_ids'] = $this->getSupportedSearchProviderIds();
45
+        }
46
+        return $json;
47
+    }
48 48
 }
Please login to merge, or discard this patch.
lib/public/Collaboration/Reference/ISearchableReferenceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
  * @since 26.0.0
29 29
  */
30 30
 interface ISearchableReferenceProvider extends IDiscoverableReferenceProvider {
31
-	/**
32
-	 * @return string[] list of search provider IDs that can be used by the vue-richtext picker
33
-	 * @since 26.0.0
34
-	 */
35
-	public function getSupportedSearchProviderIds(): array;
31
+    /**
32
+     * @return string[] list of search provider IDs that can be used by the vue-richtext picker
33
+     * @since 26.0.0
34
+     */
35
+    public function getSupportedSearchProviderIds(): array;
36 36
 }
Please login to merge, or discard this patch.
apps/files_versions/lib/Versions/IDeletableVersionBackend.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
  * @since 26.0.0
28 28
  */
29 29
 interface IDeletableVersionBackend {
30
-	/**
31
-	 * Delete a version.
32
-	 *
33
-	 * @since 26.0.0
34
-	 */
35
-	public function deleteVersion(IVersion $version): void;
30
+    /**
31
+     * Delete a version.
32
+     *
33
+     * @since 26.0.0
34
+     */
35
+    public function deleteVersion(IVersion $version): void;
36 36
 }
Please login to merge, or discard this patch.