Completed
Push — master ( d6a53c...4b5010 )
by Joas
29:09 queued 14s
created
lib/private/Repair/Owncloud/DropAccountTermsTable.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -27,31 +27,31 @@
 block discarded – undo
27 27
 use OCP\Migration\IRepairStep;
28 28
 
29 29
 class DropAccountTermsTable implements IRepairStep {
30
-	/** @var IDBConnection */
31
-	protected $db;
30
+    /** @var IDBConnection */
31
+    protected $db;
32 32
 
33
-	/**
34
-	 * @param IDBConnection $db
35
-	 */
36
-	public function __construct(IDBConnection $db) {
37
-		$this->db = $db;
38
-	}
33
+    /**
34
+     * @param IDBConnection $db
35
+     */
36
+    public function __construct(IDBConnection $db) {
37
+        $this->db = $db;
38
+    }
39 39
 
40
-	/**
41
-	 * @return string
42
-	 */
43
-	public function getName() {
44
-		return 'Drop account terms table when migrating from ownCloud';
45
-	}
40
+    /**
41
+     * @return string
42
+     */
43
+    public function getName() {
44
+        return 'Drop account terms table when migrating from ownCloud';
45
+    }
46 46
 
47
-	/**
48
-	 * @param IOutput $output
49
-	 */
50
-	public function run(IOutput $output) {
51
-		if (!$this->db->tableExists('account_terms')) {
52
-			return;
53
-		}
47
+    /**
48
+     * @param IOutput $output
49
+     */
50
+    public function run(IOutput $output) {
51
+        if (!$this->db->tableExists('account_terms')) {
52
+            return;
53
+        }
54 54
 
55
-		$this->db->dropTable('account_terms');
56
-	}
55
+        $this->db->dropTable('account_terms');
56
+    }
57 57
 }
Please login to merge, or discard this patch.
lib/private/Repair/AddBruteForceCleanupJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
 use OCP\Migration\IRepairStep;
32 32
 
33 33
 class AddBruteForceCleanupJob implements IRepairStep {
34
-	/** @var IJobList */
35
-	protected $jobList;
34
+    /** @var IJobList */
35
+    protected $jobList;
36 36
 
37
-	public function __construct(IJobList $jobList) {
38
-		$this->jobList = $jobList;
39
-	}
37
+    public function __construct(IJobList $jobList) {
38
+        $this->jobList = $jobList;
39
+    }
40 40
 
41
-	public function getName() {
42
-		return 'Add job to cleanup the bruteforce entries';
43
-	}
41
+    public function getName() {
42
+        return 'Add job to cleanup the bruteforce entries';
43
+    }
44 44
 
45
-	public function run(IOutput $output) {
46
-		$this->jobList->add(CleanupJob::class);
47
-	}
45
+    public function run(IOutput $output) {
46
+        $this->jobList->add(CleanupJob::class);
47
+    }
48 48
 }
Please login to merge, or discard this patch.
lib/private/Repair/NC16/AddClenupLoginFlowV2BackgroundJob.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,18 +31,18 @@
 block discarded – undo
31 31
 use OCP\Migration\IRepairStep;
32 32
 
33 33
 class AddClenupLoginFlowV2BackgroundJob implements IRepairStep {
34
-	/** @var IJobList */
35
-	private $jobList;
34
+    /** @var IJobList */
35
+    private $jobList;
36 36
 
37
-	public function __construct(IJobList $jobList) {
38
-		$this->jobList = $jobList;
39
-	}
37
+    public function __construct(IJobList $jobList) {
38
+        $this->jobList = $jobList;
39
+    }
40 40
 
41
-	public function getName(): string {
42
-		return 'Add background job to cleanup login flow v2 tokens';
43
-	}
41
+    public function getName(): string {
42
+        return 'Add background job to cleanup login flow v2 tokens';
43
+    }
44 44
 
45
-	public function run(IOutput $output) {
46
-		$this->jobList->add(CleanupLoginFlowV2::class);
47
-	}
45
+    public function run(IOutput $output) {
46
+        $this->jobList->add(CleanupLoginFlowV2::class);
47
+    }
48 48
 }
Please login to merge, or discard this patch.
lib/private/L10N/LazyL10N.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -28,42 +28,42 @@
 block discarded – undo
28 28
 use OCP\IL10N;
29 29
 
30 30
 class LazyL10N implements IL10N {
31
-	/** @var IL10N */
32
-	private $l;
31
+    /** @var IL10N */
32
+    private $l;
33 33
 
34
-	/** @var \Closure */
35
-	private $factory;
34
+    /** @var \Closure */
35
+    private $factory;
36 36
 
37 37
 
38
-	public function __construct(\Closure $factory) {
39
-		$this->factory = $factory;
40
-	}
38
+    public function __construct(\Closure $factory) {
39
+        $this->factory = $factory;
40
+    }
41 41
 
42
-	private function getL(): IL10N {
43
-		if ($this->l === null) {
44
-			$this->l = ($this->factory)();
45
-		}
42
+    private function getL(): IL10N {
43
+        if ($this->l === null) {
44
+            $this->l = ($this->factory)();
45
+        }
46 46
 
47
-		return $this->l;
48
-	}
47
+        return $this->l;
48
+    }
49 49
 
50
-	public function t(string $text, $parameters = []): string {
51
-		return $this->getL()->t($text, $parameters);
52
-	}
50
+    public function t(string $text, $parameters = []): string {
51
+        return $this->getL()->t($text, $parameters);
52
+    }
53 53
 
54
-	public function n(string $text_singular, string $text_plural, int $count, array $parameters = []): string {
55
-		return $this->getL()->n($text_singular, $text_plural, $count, $parameters);
56
-	}
54
+    public function n(string $text_singular, string $text_plural, int $count, array $parameters = []): string {
55
+        return $this->getL()->n($text_singular, $text_plural, $count, $parameters);
56
+    }
57 57
 
58
-	public function l(string $type, $data, array $options = []) {
59
-		return $this->getL()->l($type, $data, $options);
60
-	}
58
+    public function l(string $type, $data, array $options = []) {
59
+        return $this->getL()->l($type, $data, $options);
60
+    }
61 61
 
62
-	public function getLanguageCode(): string {
63
-		return $this->getL()->getLanguageCode();
64
-	}
62
+    public function getLanguageCode(): string {
63
+        return $this->getL()->getLanguageCode();
64
+    }
65 65
 
66
-	public function getLocaleCode(): string {
67
-		return $this->getL()->getLocaleCode();
68
-	}
66
+    public function getLocaleCode(): string {
67
+        return $this->getL()->getLocaleCode();
68
+    }
69 69
 }
Please login to merge, or discard this patch.
lib/private/Federation/CloudFederationFactory.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -27,37 +27,37 @@
 block discarded – undo
27 27
 use OCP\Federation\ICloudFederationShare;
28 28
 
29 29
 class CloudFederationFactory implements ICloudFederationFactory {
30
-	/**
31
-	 * get a CloudFederationShare Object to prepare a share you want to send
32
-	 *
33
-	 * @param string $shareWith
34
-	 * @param string $name resource name (e.g. document.odt)
35
-	 * @param string $description share description (optional)
36
-	 * @param string $providerId resource UID on the provider side
37
-	 * @param string $owner provider specific UID of the user who owns the resource
38
-	 * @param string $ownerDisplayName display name of the user who shared the item
39
-	 * @param string $sharedBy provider specific UID of the user who shared the resource
40
-	 * @param string $sharedByDisplayName display name of the user who shared the resource
41
-	 * @param string $sharedSecret used to authenticate requests across servers
42
-	 * @param string $shareType ('group' or 'user' share)
43
-	 * @param $resourceType ('file', 'calendar',...)
44
-	 * @return ICloudFederationShare
45
-	 *
46
-	 * @since 14.0.0
47
-	 */
48
-	public function getCloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $sharedSecret, $shareType, $resourceType) {
49
-		return new CloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $shareType, $resourceType, $sharedSecret);
50
-	}
30
+    /**
31
+     * get a CloudFederationShare Object to prepare a share you want to send
32
+     *
33
+     * @param string $shareWith
34
+     * @param string $name resource name (e.g. document.odt)
35
+     * @param string $description share description (optional)
36
+     * @param string $providerId resource UID on the provider side
37
+     * @param string $owner provider specific UID of the user who owns the resource
38
+     * @param string $ownerDisplayName display name of the user who shared the item
39
+     * @param string $sharedBy provider specific UID of the user who shared the resource
40
+     * @param string $sharedByDisplayName display name of the user who shared the resource
41
+     * @param string $sharedSecret used to authenticate requests across servers
42
+     * @param string $shareType ('group' or 'user' share)
43
+     * @param $resourceType ('file', 'calendar',...)
44
+     * @return ICloudFederationShare
45
+     *
46
+     * @since 14.0.0
47
+     */
48
+    public function getCloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $sharedSecret, $shareType, $resourceType) {
49
+        return new CloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $shareType, $resourceType, $sharedSecret);
50
+    }
51 51
 
52
-	/**
53
-	 * get a Cloud FederationNotification object to prepare a notification you
54
-	 * want to send
55
-	 *
56
-	 * @return ICloudFederationNotification
57
-	 *
58
-	 * @since 14.0.0
59
-	 */
60
-	public function getCloudFederationNotification() {
61
-		return new CloudFederationNotification();
62
-	}
52
+    /**
53
+     * get a Cloud FederationNotification object to prepare a notification you
54
+     * want to send
55
+     *
56
+     * @return ICloudFederationNotification
57
+     *
58
+     * @since 14.0.0
59
+     */
60
+    public function getCloudFederationNotification() {
61
+        return new CloudFederationNotification();
62
+    }
63 63
 }
Please login to merge, or discard this patch.
lib/private/Settings/AuthorizedGroup.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -33,17 +33,17 @@
 block discarded – undo
33 33
  * @method getClass(): string
34 34
  */
35 35
 class AuthorizedGroup extends Entity implements \JsonSerializable {
36
-	/** @var string $group_id */
37
-	protected $groupId;
36
+    /** @var string $group_id */
37
+    protected $groupId;
38 38
 
39
-	/** @var string $class */
40
-	protected $class;
39
+    /** @var string $class */
40
+    protected $class;
41 41
 
42
-	public function jsonSerialize(): array {
43
-		return [
44
-			'id' => $this->id,
45
-			'group_id' => $this->groupId,
46
-			'class' => $this->class
47
-		];
48
-	}
42
+    public function jsonSerialize(): array {
43
+        return [
44
+            'id' => $this->id,
45
+            'group_id' => $this->groupId,
46
+            'class' => $this->class
47
+        ];
48
+    }
49 49
 }
Please login to merge, or discard this patch.
lib/private/Broadcast/Events/BroadcastEvent.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -31,28 +31,28 @@
 block discarded – undo
31 31
 use OCP\EventDispatcher\Event;
32 32
 
33 33
 class BroadcastEvent extends Event implements IBroadcastEvent {
34
-	/** @var ABroadcastedEvent */
35
-	private $event;
34
+    /** @var ABroadcastedEvent */
35
+    private $event;
36 36
 
37
-	public function __construct(ABroadcastedEvent $event) {
38
-		parent::__construct();
37
+    public function __construct(ABroadcastedEvent $event) {
38
+        parent::__construct();
39 39
 
40
-		$this->event = $event;
41
-	}
40
+        $this->event = $event;
41
+    }
42 42
 
43
-	public function getName(): string {
44
-		return $this->event->broadcastAs();
45
-	}
43
+    public function getName(): string {
44
+        return $this->event->broadcastAs();
45
+    }
46 46
 
47
-	public function getUids(): array {
48
-		return $this->event->getUids();
49
-	}
47
+    public function getUids(): array {
48
+        return $this->event->getUids();
49
+    }
50 50
 
51
-	public function getPayload(): JsonSerializable {
52
-		return $this->event;
53
-	}
51
+    public function getPayload(): JsonSerializable {
52
+        return $this->event;
53
+    }
54 54
 
55
-	public function setBroadcasted(): void {
56
-		$this->event->setBroadcasted();
57
-	}
55
+    public function setBroadcasted(): void {
56
+        $this->event->setBroadcasted();
57
+    }
58 58
 }
Please login to merge, or discard this patch.
lib/private/Lock/NoopLockingProvider.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -34,38 +34,38 @@
 block discarded – undo
34 34
  * To be used when locking is disabled.
35 35
  */
36 36
 class NoopLockingProvider implements ILockingProvider {
37
-	/**
38
-	 * {@inheritdoc}
39
-	 */
40
-	public function isLocked(string $path, int $type): bool {
41
-		return false;
42
-	}
37
+    /**
38
+     * {@inheritdoc}
39
+     */
40
+    public function isLocked(string $path, int $type): bool {
41
+        return false;
42
+    }
43 43
 
44
-	/**
45
-	 * {@inheritdoc}
46
-	 */
47
-	public function acquireLock(string $path, int $type, ?string $readablePath = null): void {
48
-		// do nothing
49
-	}
44
+    /**
45
+     * {@inheritdoc}
46
+     */
47
+    public function acquireLock(string $path, int $type, ?string $readablePath = null): void {
48
+        // do nothing
49
+    }
50 50
 
51
-	/**
52
-	 * {@inheritdoc}
53
-	 */
54
-	public function releaseLock(string $path, int $type): void {
55
-		// do nothing
56
-	}
51
+    /**
52
+     * {@inheritdoc}
53
+     */
54
+    public function releaseLock(string $path, int $type): void {
55
+        // do nothing
56
+    }
57 57
 
58
-	/**1
58
+    /**1
59 59
 	 * {@inheritdoc}
60 60
 	 */
61
-	public function releaseAll(): void {
62
-		// do nothing
63
-	}
61
+    public function releaseAll(): void {
62
+        // do nothing
63
+    }
64 64
 
65
-	/**
66
-	 * {@inheritdoc}
67
-	 */
68
-	public function changeLock(string $path, int $targetType): void {
69
-		// do nothing
70
-	}
65
+    /**
66
+     * {@inheritdoc}
67
+     */
68
+    public function changeLock(string $path, int $targetType): void {
69
+        // do nothing
70
+    }
71 71
 }
Please login to merge, or discard this patch.
lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
 use OCP\Encryption\Exceptions\GenericEncryptionException;
26 26
 
27 27
 class ModuleAlreadyExistsException extends GenericEncryptionException {
28
-	/**
29
-	 * @param string $id
30
-	 * @param string $name
31
-	 */
32
-	public function __construct($id, $name) {
33
-		parent::__construct('Id "' . $id . '" already used by encryption module "' . $name . '"');
34
-	}
28
+    /**
29
+     * @param string $id
30
+     * @param string $name
31
+     */
32
+    public function __construct($id, $name) {
33
+        parent::__construct('Id "' . $id . '" already used by encryption module "' . $name . '"');
34
+    }
35 35
 }
Please login to merge, or discard this patch.